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