5.8.8 Rept Directive

The .rept count directive repeat the sequence of lines between the .rept directive and the next .endr directive, count times. Specifying count as zero is allowed, but no output is generated. Negative values for count are not permitted and if encountered will be treated as if they were zero.

For example, assembling:
.rept 3
.long 0
.endr
is equivalent to assembling:
.long 0
.long 0
.long 0