]> git.sur5r.net Git - cc65/commitdiff
Increased h/w stack safety zone to 12 bytes
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 23 Mar 2001 19:08:07 +0000 (19:08 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 23 Mar 2001 19:08:07 +0000 (19:08 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@651 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/runtime/stkchk.s

index 712da3094564b14e4b87623ffef178fdf335342d..c33c703e96e2944e5bfa5666ecede7a6eb1c1e5b 100644 (file)
 
 ; ----------------------------------------------------------------------------
 ; 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