Everything

.EXITM


.EXITM directive skips the repetitive assembly of the .REPT and .IRP directives enclosing this directive at the innermost position.

[Syntax]

Symbol field
Mnemonic field
Operand field
Comment field
 
.EXITM
 
[; comment]

[Function]

-

.EXITM directive skips the repetitive assembly of the .REPT and .IRP directives enclosing this directive assembly of the innermost .REPT and .IPR directives enclosing this directive.

[Description]

-

If .EXITM directive is not enclosed by .REPT and .IRP directives, the CC-RL outputs the message.

-

The conditional assembly control instructions enclosing the .EXITM directive cannot be written between the .EXITM directive and .ENDM directive. ([V1.01 only])

[Example]

    .REPT   3
    .REPT   2
    INC     B
    .EXITM
    .ENDM
    DEC     C
    .ENDM

 

The code is expanded as shown below after assembling.

    INC     B
    DEC     C
    INC     B
    DEC     C
    INC     B
    DEC     C