Introduction 

There are four directives to repeat a block of statements -- REPT , WHILE , IRP , and IRPC . These directives can be used both inside and outside a macro definition. They are mostly used to define and initialize variables in a data segment.

Each directive identifies the beginning of a block of statements and ENDM indicates the end of a repeat block. We will briefly discuss next these four directives.