summary refs log tree commit diff
path: root/instructions
diff options
context:
space:
mode:
authorWlodekM <[email protected]>2025-04-03 21:51:53 +0300
committerWlodekM <[email protected]>2025-04-03 21:51:53 +0300
commite2568226af4af2d3b27e9e1a775e7244c5ef7191 (patch)
treef6bd5d51753c549728a7160743e3b935a3a39602 /instructions
parentc62e133afb34fc38445af7bbe61e88cf45e9a7e3 (diff)
more progress on trying to get wozmon running
Diffstat (limited to 'instructions')
-rw-r--r--instructions/ASL.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/instructions/ASL.ts b/instructions/ASL.ts
index 1f3fcbb..d65df3f 100644
--- a/instructions/ASL.ts
+++ b/instructions/ASL.ts
@@ -7,6 +7,7 @@ export default function (this: The65c02, mode: string) {
         this.negative = (mem & 128) != 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);