exit() is __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1567 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
08b095c604
commit
e77a39b2cd
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue