.rept

Repeats the statements of the block the specified number of times; the .endr directive must follow the statements.

  .rept  expression
  statement-group
  .endr
  
Parameters

expression

Any valid expression that evaluates to a positive integer.

statement-group

Any statements valid in assembly macros.