fix(reset): only check CC.Z when looping over stack init

This commit is contained in:
2025-09-13 15:58:36 -05:00
parent 7e9f18b2d2
commit 97ff749e8b

View File

@@ -28,7 +28,7 @@ NEXT@
sta STACK_BOTTOM,x ; Write a zero and progress to the next byte
leax 1,x
cmpx #STACK_DEPTH ; See if we're at the top of the stack yet
blo NEXT@ ; Loop if we aren't at the end yet
bne NEXT@ ; Loop if we aren't at the end yet
lds #STACK_TOP ; Set S to top of newly cleared stack
BOOTSCR