mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 02:30:44 +00:00
Fixed bug in original sim65 implementation (reason for C&P error in last commit)
This commit is contained in:
parent
c50e4d25e2
commit
0985655ac7
@ -1447,7 +1447,7 @@ static void OPC_6502_7E (void)
|
||||
unsigned Addr;
|
||||
unsigned Val;
|
||||
Cycles = 7;
|
||||
Addr = MemReadByte (Regs.PC+1) + Regs.XR;
|
||||
Addr = MemReadWord (Regs.PC+1) + Regs.XR;
|
||||
Val = MemReadByte (Addr);
|
||||
ROR (Val);
|
||||
MemWriteByte (Addr, Val);
|
||||
|
Loading…
x
Reference in New Issue
Block a user