diff --git a/src/reset.s b/src/reset.s index e5a7c56..49a4f2e 100644 --- a/src/reset.s +++ b/src/reset.s @@ -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