mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-13 01:29:57 +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 ABSOLUTEY:
|
||||||
case IABSOLUTE:
|
case IABSOLUTE:
|
||||||
case IABSOLUTEX:
|
case IABSOLUTEX:
|
||||||
|
case ZPR:
|
||||||
i.op1 = bus_read_1(b, addr+1);
|
i.op1 = bus_read_1(b, addr+1);
|
||||||
i.op2 = bus_read_1(b, addr+2);
|
i.op2 = bus_read_1(b, addr+2);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user