1
0
mirror of https://github.com/cc65/cc65.git synced 2025-04-09 10:39:40 +00:00

Increased h/w stack safety zone to 12 bytes

git-svn-id: svn://svn.cc65.org/cc65/trunk@651 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-03-23 19:08:07 +00:00
parent 080500d0a0
commit 59db8bdf1f

View File

@ -45,10 +45,10 @@
; ----------------------------------------------------------------------------
; 6502 stack checking routine. Does not need to save any registers.
; Safety zone for the hardware stack is 10 bytes.
; Safety zone for the hardware stack is 12 bytes.
stkchk: tsx
cpx #10
cpx #12
bcc Fail ; Jump on stack overflow
rts ; Return if ok