diff --git a/cpu.c b/cpu.c index ca4f2c4..51ab824 100644 --- a/cpu.c +++ b/cpu.c @@ -1274,7 +1274,7 @@ interpret(void) break; case 0xee: mode = AM_ABS; - arg = opcode_arg(mode); + arg = opcode_mem(mode); inc(arg); cycles += 6; printf("INC"); @@ -1310,7 +1310,6 @@ interpret(void) mem = peek16(regs.pc); deref = peek(mem); arg = opcode_mem(mode); - //jmp(arg); jmp(deref); cycles += 6; printf("JMP");