coding the addressing modes

This commit is contained in:
Thiago Auler 2017-11-13 17:40:03 -02:00
parent 4ced079268
commit c39eaab7d9
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ void fetch_operand()
operand = ac; operand = ac;
break; break;
case absolute: case absolute:
address = read_word(pc) address = read_word(pc);
operand = read_byte(address); operand = read_byte(address);
pc = pc + 2; pc = pc + 2;
case absolute_x: case absolute_x: