coding the addressing modes

This commit is contained in:
Thiago Auler 2017-11-13 17:40:03 -02:00
parent 4ced079268
commit c39eaab7d9

View File

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