From 2f9d38f9f9d6f17bc274934b23915417012eeed8 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Fri, 29 May 2020 22:38:34 -0400 Subject: Make JSL, JSR absolute, and remove RTL. The reason for doing this was because JSL, and RTL are redundent, as they both do the same thing as JSR, and RTS. --- test/add-sub.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/add-sub.s') 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: -- cgit v1.2.3-13-gbd6f