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/subroutine.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/subroutine.s')
-rw-r--r-- | test/subroutine.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/subroutine.s b/test/subroutine.s index 7db1b87..d39fc15 100644 --- a/test/subroutine.s +++ b/test/subroutine.s @@ -24,7 +24,7 @@ start: ;stb $C010 ;deb bench: - jsl clr_buf + jsr clr_buf jmp bench clr_buf: @@ -39,7 +39,7 @@ clr_buf: jmp clr_buf ; Keep looping. clr_buf_end: tay ; Set the index back to zero. - rtl ; End of clr_buf. + rts ; End of clr_buf. ;.org $C010 ;.byte $1 |