.rept

Previous Assembler Directives Next

Syntax: .rept count

Repeat the sequence of lines between the .rept directive and the next .endr directive count times.

For example, assembling

        .rept   3
        .long   0
        .endr
is equivalent to assembling
        .long   0
        .long   0
        .long   0