1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Merge pull request #1648 from polluks2/tco

Added tail call optimization
This commit is contained in:
Bob Andrews 2022-02-03 14:42:41 +01:00 committed by GitHub
commit 24227482ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View File

@ -12,7 +12,6 @@
.proc _beep: near
jsr BEEP ; Beep
rts
jmp BEEP ; Beep
.endproc

View File

@ -53,5 +53,5 @@ _exit: jsr donelib ; Run destructors
lda TECHO
ora #$80 ; Re-enable console echo
sta TECHO
jsr NACCES ; Lock System RAM
rts ; Re-enter Sym-1 monitor
jmp NACCES ; Lock System RAM
; Re-enter Sym-1 monitor

View File

@ -12,7 +12,6 @@
.proc _fdisp: near
jsr SCAND ; Flash Display
rts
jmp SCAND ; Flash Display
.endproc