IRP              Assemble Once for Each Parameter              MASM Directive
 
  IRP dummyname, <parameter,,,>
  statements
  ENDM
 
    Causes the assembler to assemble statements once for each parameter in
    <parameter,,,>, replacing all occurrences of dummyname with the
    current parameter on each iteration.
 
       Notes:     Any number of parameters may be given, and dummyname may
                  be used any number of times within statements.  If the
                  parameter list is empty, no statements are assembled.
                  If, however, the null parameter is specified (<>), the
                  dummy name is replaced with a null value.
 
                  The angle brackets around parameter are required and if
                  more than 1 parameter is specified, they must be
                  separated by commas.
 
                  The parameter can be any legal symbol, string, numeric
                  or character constant.

Seealso:



This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster