Next step is "PRESS ANY BUTTON TO CONTINUE" to be effective. Your program never reaches line 17, 16 GOTO @LOOP branch always to line 9. I suggest replacing lines 9 and 13 with a REPEAT UNTIL loop and avoid GOTO.