Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 757 Bytes

dot_break.md

File metadata and controls

28 lines (21 loc) · 757 Bytes

Asmc Macro Assembler Reference

.BREAK

.BREAK(n) [[.IF condition]]

Generates code to terminate a .WHILE or .REPEAT block if condition is true.

BREAK[(n)] is optional nesting level to terminate.

.while 1
    .break              ; break .while 1
    .while 2
        .break(1)       ; break .while 1
        .while 3
            .break(2)   ; break .while 1
            .while 4
                .break(3)   ; break .while 1
                .break(2)   ; break .while 2
                .break(1)   ; break .while 3
            .endw
        .endw
    .endw
.endw

See Also

Directives Reference | .CONTINUE