diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-04-19 13:31:49 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-04-19 13:31:49 -0400 |
commit | e093aba79dd1ed88cb490b7cd69c81f0b14bea11 (patch) | |
tree | 7c37fe806b5e6fa7f82edcf2379cf4a424fa0c19 /test | |
parent | 0a7a2a7a8f95730811117bd2aa904f1843f65071 (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.s | 3 | ||||
-rw-r--r-- | test/test-stack.s | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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 |