diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-05-29 22:38:34 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-05-29 22:38:34 -0400 |
commit | 2f9d38f9f9d6f17bc274934b23915417012eeed8 (patch) | |
tree | b72aff709261d5e22f026835191eec9b73a77ff5 /test/fib2.s | |
parent | 47cb4ad67be723a4df8e6ccd3cad6be79e3e7765 (diff) |
Make JSL, JSR absolute, and remove RTL.
The reason for doing this was because JSL, and RTL are
redundent, as they both do the same thing as JSR, and
RTS.
Diffstat (limited to 'test/fib2.s')
-rw-r--r-- | test/fib2.s | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/test/fib2.s b/test/fib2.s index 59830a2..9bb2406 100644 --- a/test/fib2.s +++ b/test/fib2.s @@ -1,19 +1,9 @@ -; Variables for thread 0. -.org $1000 -x: - .qword 0 -y: - .qword 1 -z: - .qword 0 -zero: - .qword 0 .org 0 init: cps ; Clear the Processor Status register. start: - lsr #63 ; Reset the accumulator. + and #0 ; Reset the accumulator. tab ; tax ; tay ; @@ -30,4 +20,4 @@ fib: tay ; jmp fib ; No, so keep looping. a -done +d |