.CONTINUE

Continue next iteration of structured loop.

.CONTINUE

Remarks

The .CONTINUE statement causes the next iteration of a looping construct ( .WHILE, .REPEAT, .FOR, .LOOP) to begin. This means that the loop expression or operand comparison is performed immediately, bypassing any subsequent instructions.

If a .CONTINUE statement is encountered with no loop statement active, a warning is issued.

The .CONTINUE statement should be used with care near .ENDL directives or near the end of DO loops. It generates a jump instruction which is illegal in those contexts.

One or more .CONTINUE directives inside a .LOOP construct generates a NOP instruction just before the loop address.

Example

.REPEAT

. ..IF <cs>

.CONTINUE ;causes immediate jump to .UNTIL

.ENDI

. ;any instructions here are skipped .

.UNTIL x:(r1)+ <EQ> #0 ;evaluation here after .CONTINUE