Fixed bug in original sim65 implementation (reason for C&P error in last commit)
This commit is contained in:
parent
c50e4d25e2
commit
0985655ac7
1 changed files with 1 additions and 1 deletions
|
@ -1447,7 +1447,7 @@ static void OPC_6502_7E (void)
|
||||||
unsigned Addr;
|
unsigned Addr;
|
||||||
unsigned Val;
|
unsigned Val;
|
||||||
Cycles = 7;
|
Cycles = 7;
|
||||||
Addr = MemReadByte (Regs.PC+1) + Regs.XR;
|
Addr = MemReadWord (Regs.PC+1) + Regs.XR;
|
||||||
Val = MemReadByte (Addr);
|
Val = MemReadByte (Addr);
|
||||||
ROR (Val);
|
ROR (Val);
|
||||||
MemWriteByte (Addr, Val);
|
MemWriteByte (Addr, Val);
|
||||||
|
|
Loading…
Add table
Reference in a new issue