1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-01 15:54:59 +00:00

exit() is __fastcall__

git-svn-id: svn://svn.cc65.org/cc65/trunk@1567 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-11-22 00:38:52 +00:00
parent 08b095c604
commit e77a39b2cd

View File

@ -50,7 +50,7 @@
stkchk: tsx
cpx #12
bcc Fail ; Jump on stack overflow
rts ; Return if ok
rts ; Return if ok
; ----------------------------------------------------------------------------
; C stack checking routine. Does not need to save any registers.
@ -85,7 +85,7 @@ CStackOverflow:
; difficult, since we're operating at a lower level here.
Fail: lda #4
jsr pusha0
ldx #0
jmp _exit
; ----------------------------------------------------------------------------
@ -101,3 +101,4 @@ initialsp: .word 0
lowwater: .word 0