#include "struc.h"
start:
lda #0
sta counter
whilenot(lda counter:beq)
lda flag
ifnot(beq)
ldx #100
repeat
lda #" "
jsr print
dex
aslongas(bne)
endif
dec counter
wend
rts
If your interested, then include this into your assembler code and look at this, if you'd
like how to use it.