Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ORI - Data bitwise inclusive or with Accumulator
- case 0x85:
- data = fetch();
- temp_word = (WORD)data | (WORD)Registers[REGISTER_A];
- set_flag_n((BYTE)temp_word);
- set_flag_z((BYTE)temp_word);
- Registers[REGISTER_A] = (BYTE)temp_word;
- break;
- //ANI - Data bitwise and with Accumulator
- case 0x86:
- data = fetch();
- temp_word = (WORD)data & (WORD)Registers[REGISTER_A];
- set_flag_n((BYTE)temp_word);
- set_flag_z((BYTE)temp_word);
- Registers[REGISTER_A] = (BYTE)temp_word;
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement