diff options
Diffstat (limited to 'instructions/ROR.ts')
-rw-r--r-- | instructions/ROR.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/instructions/ROR.ts b/instructions/ROR.ts index 7226604..60226c9 100644 --- a/instructions/ROR.ts +++ b/instructions/ROR.ts @@ -7,6 +7,7 @@ export default function (this: The65c02, mode: string) { this.negative = (result & 256) != 0 this.carry = (mem & 256) != 0 this.regA.set(result & 0xFF); + this.programCounter.increment() } else { const addr = this.getAddr(mode) this.io.address.set(addr); |