From: cuz Date: Fri, 23 Mar 2001 19:08:07 +0000 (+0000) Subject: Increased h/w stack safety zone to 12 bytes X-Git-Tag: V2.12.0~2911 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=59db8bdf1fbe6c3675c30eea9bead850934b16f7;p=cc65 Increased h/w stack safety zone to 12 bytes git-svn-id: svn://svn.cc65.org/cc65/trunk@651 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/runtime/stkchk.s b/libsrc/runtime/stkchk.s index 712da3094..c33c703e9 100644 --- a/libsrc/runtime/stkchk.s +++ b/libsrc/runtime/stkchk.s @@ -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