Everything

.EXITMA


The .EXITMA directive skips the repetitive assembly of the outermost .REPT and .IRP directives enclosing this directive.

[Syntax]

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

[Function]

-

The .EXITMA directive skips the repetitive assembly of the outermost .REPT and .IRP directives enclosing this directive.

[Description]

-

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

-

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

[Example]

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

 

The code is expanded as shown below after assembling.

    INC     B