summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-04-19 13:31:49 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-04-19 13:31:49 -0400
commite093aba79dd1ed88cb490b7cd69c81f0b14bea11 (patch)
tree7c37fe806b5e6fa7f82edcf2379cf4a424fa0c19 /test
parent0a7a2a7a8f95730811117bd2aa904f1843f65071 (diff)
Removed most of the commented code, and optimized the
emulator some more. I optimized the emulator by replacing the main loop from a conditional while loop, to an unconditional for loop.
Diffstat (limited to 'test')
-rw-r--r--test/asr.s3
-rw-r--r--test/test-stack.s2
2 files changed, 3 insertions, 2 deletions
diff --git a/test/asr.s b/test/asr.s
index a3b72c0..b251a84 100644
--- a/test/asr.s
+++ b/test/asr.s
@@ -5,8 +5,9 @@
reset:
cps
start:
+ clc
lda #0
- sbc #$FFFF
+ sbc.w #$FFFF
ldb #0
deb
signshft:
diff --git a/test/test-stack.s b/test/test-stack.s
index b9218a0..a63f54a 100644
--- a/test/test-stack.s
+++ b/test/test-stack.s
@@ -2,7 +2,7 @@ init:
cps
ldx.w #$FFFF
txs
-
+ tax
loop:
inc
pha #1