z80:Directives:FOR
From Learn @ Cemetech
Jump to navigationJump to searchRepeats a series of statements in a loop.
Syntax
Can be used like in C:
.for i=0, i<10, ++i .echoln i, "..." .loop .echoln "Blast off!"
Or like in BASIC:
.for i is 10 to 1 .echoln i, "..." .loop .echoln "Blast off!"
See Also