Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>irp assemble once for each parameter masm directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
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.

See Also: IRPC REPT

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson