Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 0x85: // ORI
- 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;
- case 0x86: // ANI
- 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