mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-12 10:30:23 +00:00
Fix operands fetching for zero page relative addressing.
This commit is contained in:
parent
f0b1294897
commit
0cbbce4eeb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user