Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 0x99: //RAL Absolute
- HB = fetch();
- LB = fetch();
- address += (WORD)((WORD)HB << 8) + LB;
- temp_word = Memory[address];
- if (address >= 0 && address < MEMORY_SIZE) {
- if ((temp_word & 0x80) == 0x80) {
- temp_word = (temp_word << 1) + 0x01;
- }
- else {
- temp_word = temp_word << 1;
- }
- }
- set_flag_z((BYTE)temp_word);
- set_flag_n((BYTE)temp_word);
- Memory[address] = (BYTE)temp_word;
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement