Things Remembered: Iteration Macros
Dr. T. Andrews
tanner at cdis-1.uucp
Sat Sep 16 02:26:52 AEST 1989
So many years ago that assembly language was still respected, a
common feature was what we called an "iteration" macro. These
often took the form of
IPO SYM, LIST
...
IPO_END
where IPO was the "iterate-over" pseudo-op, SYM was the symbol
to be replaced within the block, and LIST was a list of values
to be substituted for each instance of SYM. The end of the block
was marked by the IPO_END, of course.
The second, less general variety of pseudo-op was of the form
RPO NN
...
RPO_END
where RPO was the "repeat-n" pseudo-op, and NN was the number of
times to repeat the block whose end was marked by RPO_END.
[This message provided to you in order to discourage the production
of ugly tables written in Chinese.]
--
...!bikini.cis.ufl.edu!ki4pv!cdis-1!tanner ...!bpa!cdin-1!cdis-1!tanner
or... {allegra attctc gatech!uflorida}!ki4pv!cdis-1!tanner
More information about the Comp.lang.c
mailing list