Advertisement
Guest User

Untitled

a guest
Feb 20th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. case 0x85: // ORI
  2. data = fetch();
  3. temp_word = (WORD)data | (WORD)Registers[REGISTER_A];
  4. set_flag_n((BYTE)temp_word);
  5. set_flag_z((BYTE)temp_word);
  6. Registers[REGISTER_A] = (BYTE)temp_word;
  7. break;
  8.  
  9. case 0x86: // ANI
  10. data = fetch();
  11. temp_word = (WORD)data & (WORD)Registers[REGISTER_A];
  12. set_flag_n((BYTE)temp_word);
  13. set_flag_z((BYTE)temp_word);
  14. Registers[REGISTER_A] = (BYTE)temp_word;
  15. break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement