diff options
author | WlodekM <[email protected]> | 2025-04-03 12:04:10 +0300 |
---|---|---|
committer | WlodekM <[email protected]> | 2025-04-03 12:04:10 +0300 |
commit | 570bb71bee1042d656cc121b45598bb1198e2df4 (patch) | |
tree | ea8e0e2bad1ee9796ac1486c5f5680767b47d342 /instructions | |
parent | 60732c4d90abe71d990ca00894f41b5078857a60 (diff) |
some fixes
Diffstat (limited to 'instructions')
-rw-r--r-- | instructions/LSR.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/instructions/LSR.ts b/instructions/LSR.ts index 61adadb..b907e47 100644 --- a/instructions/LSR.ts +++ b/instructions/LSR.ts @@ -8,6 +8,7 @@ export default function (this: The65c02, mode: string) { this.zero = result == 0 this.carry = (mem & 1) != 0 this.regA.set(result & 0xFF); + this.programCounter.increment() } else { const addr = this.getAddr(mode) this.io.address.set(addr); |