From e093aba79dd1ed88cb490b7cd69c81f0b14bea11 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 19 Apr 2020 13:31:49 -0400 Subject: 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. --- test/asr.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/asr.s') 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: -- cgit v1.2.3-13-gbd6f