!pr1
Macro Information by Example...................Sandy Greenfarb

The following are three examples of macro use which I have found interesting and informative.

The first example, TEST, shows that you can use parameters in places other than the operand field.  In this case, one of the parameters becomes part of an opcode name.

SETD shows how a macro can make more efficient code.  If both bytes are the same, there is no need to have two LDA instructions.

MOVD copies two bytes from one variable to another.  If you use MOVD to move two bytes one byte higher in RAM, MOVD will reverse the order the bytes are moved so that the data are not clobbered.
