diff --git a/src/instruction.c b/src/instruction.c index 68ad7e4..9ccd719 100644 --- a/src/instruction.c +++ b/src/instruction.c @@ -39,6 +39,7 @@ instruction_fetch(bus_t *b, uint16_t addr) case ABSOLUTEY: case IABSOLUTE: case IABSOLUTEX: + case ZPR: i.op1 = bus_read_1(b, addr+1); i.op2 = bus_read_1(b, addr+2); break;