Asmc Macro Assembler Reference

.CONTINUE

.CONTINUE [[.IF condition]]
.CONT[1|2|3] [[.IF condition]]
.CONT0[1|2|3] [[.IF condition]]

Generates code to jump to the top of a .WHILE or .REPEAT block if condition is true.

.CONT[1|2|3] is optional nesting level to continue.

	.while 1
	    .continue		; continue .while 1
	    .while 2
		.cont1		; continue .while 1
		.while 3
		    .cont2	; continue .while 1
		    .while 4
			.cont3	; continue .while 1
			.cont2	; continue .while 2
			.cont1	; continue .while 3
		    .endw
		.endw
	    .endw
	.endw

.CONT0[1|2|3] jump's directly to START label: no TEST.

	.while 1
	    .cont0		; Jump to START label
	    .continue		; Jump to START label
	.endw
	.while eax
	    .cont0		; Jump to START label
	    .continue		; Jump to TEST label
	.endw
	.repeat
	    .cont0		; Jump to START label
	    .continue		; Jump to EXIT label
	    .break		; Jump to EXIT label
	.until 1

See Also

Directives Reference | .BREAK