GNU Info

Info Node: (nasm.info)Section 4.3.5

(nasm.info)Section 4.3.5


Next: Section 4.3.6 Prev: Section 4.3.4 Up: Section 4.3
Enter node , (file) or (file)node

4.3.5. `%0': Macro Parameter Counter
------------------------------------

   For a macro which can take a variable number of parameters, the
parameter reference `%0' will return a numeric constant giving the
number of parameters passed to the macro. This can be used as an
argument to `%rep' (see *Note Section 4.5::) in order to iterate
through all the parameters of a macro. Examples are given in *Note
Section 4.3.6::.


automatically generated by info2www version 1.2.2.9