diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-08-30 12:44:21 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-08-30 12:44:21 -0400 |
commit | 4ed07ca38b99abdca750c6612c512f30965f1714 (patch) | |
tree | c093a404b40f9e2c8d02a8d41eed99087483ced3 /test/load-store.s | |
parent | d31aed21b27fbda68abe088d657ba18455607cc4 (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/load-store.s')
-rw-r--r-- | test/load-store.s | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/load-store.s b/test/load-store.s new file mode 100644 index 0000000..60a5a8f --- /dev/null +++ b/test/load-store.s @@ -0,0 +1,22 @@ +.org $8000 + +reset: + cps + ldx.w #$FFFF + txs +@clear: + and #0 + tax + tab + deb +@loop: + lsl #8 + lda #$FF + cmp b + beq @clear + bra @loop + +.org $FFC0 +.qword reset +a +d |