summaryrefslogtreecommitdiff
path: root/test/add-sub.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/add-sub.s')
-rw-r--r--test/add-sub.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/add-sub.s b/test/add-sub.s
index 694931d..3dfdca4 100644
--- a/test/add-sub.s
+++ b/test/add-sub.s
@@ -8,7 +8,7 @@ reset:
cps ; Clear the processor status register.
ldx.w #$FFFF ; Reset the stack pointer.
txs ;
- lsr #16 ; Reset A.
+ and #0 ; Reset A.
tab ; Reset B.
tax ; Reset X.
up: