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:
commit
24227482ea
@ -12,7 +12,6 @@
|
||||
|
||||
.proc _beep: near
|
||||
|
||||
jsr BEEP ; Beep
|
||||
rts
|
||||
jmp BEEP ; Beep
|
||||
|
||||
.endproc
|
||||
|
@ -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
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
.proc _fdisp: near
|
||||
|
||||
jsr SCAND ; Flash Display
|
||||
rts
|
||||
jmp SCAND ; Flash Display
|
||||
|
||||
.endproc
|
||||
|
Loading…
Reference in New Issue
Block a user