diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-05-18 13:14:08 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-05-18 13:14:08 -0400 |
commit | 5dd788d5a1acc7f23835882420d50e9f020728ac (patch) | |
tree | 2b9226863fc44e5bce88eb85be1f0ee97ede1922 /test/ind-addr.s | |
parent | 545bb8591e8003912b6c6b494acefd74e6b3abfd (diff) |
Did alot of stuff while I was up at the family trailer.
- Moved the large enums, and large tables into separate
header files.
- Added enums for implementing the base extension
- Fixed a bug in the assembler.
- Worked more on SuBAsm.
Diffstat (limited to 'test/ind-addr.s')
-rw-r--r-- | test/ind-addr.s | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/test/ind-addr.s b/test/ind-addr.s index 0c9365b..005c016 100644 --- a/test/ind-addr.s +++ b/test/ind-addr.s @@ -1,8 +1,14 @@ -.org $0 +.org 0 +rot: + .qword 0 + +.org $1000 reset: cps - lda #1 ldb #1 + lda.w #rotate_left + sta.q rot + tba main: jsr (rot) jmp main @@ -15,13 +21,9 @@ rotate_right: rrb rts -.org $1000 -rot: - .qword rotate_left -r -.org $0 -v -.org $1000 -v -done +.org $FFC0 +.qword reset + +a +d |