From 59db8bdf1fbe6c3675c30eea9bead850934b16f7 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 23 Mar 2001 19:08:07 +0000 Subject: [PATCH] Increased h/w stack safety zone to 12 bytes git-svn-id: svn://svn.cc65.org/cc65/trunk@651 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/runtime/stkchk.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5