1
0
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:
Radosław Kujawa 2017-02-13 09:37:11 +01:00
parent f0b1294897
commit 0cbbce4eeb

View File

@ -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;