summaryrefslogtreecommitdiff
path: root/test/asr.s
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-08-30 12:44:21 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-08-30 12:44:21 -0400
commit4ed07ca38b99abdca750c6612c512f30965f1714 (patch)
treec093a404b40f9e2c8d02a8d41eed99087483ced3 /test/asr.s
parentd31aed21b27fbda68abe088d657ba18455607cc4 (diff)
- Did some more work on SuBAsm's lexer.
- Optimized the memory read, and write functions. - Made the emulator faster, and cleaner in general.
Diffstat (limited to 'test/asr.s')
-rw-r--r--test/asr.s16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/asr.s b/test/asr.s
index b251a84..ffcd46b 100644
--- a/test/asr.s
+++ b/test/asr.s
@@ -2,23 +2,23 @@
;
; Writen by mr b0nk 500 <b0nk@b0nk.xyz>
+.org $8000
reset:
cps
start:
clc
- lda #0
- sbc.w #$FFFF
- ldb #0
- deb
+ and #0
+ dec
+ tab
+ lsl #$10
signshft:
asr #1
- cab
+ cmp b
beq start
- jmp signshft
+ bra signshft
.org $FFC0
.qword reset
a
-done
-
+d