This is my understanding; I have not tested it nor verified it with the
HLASM developers. We will certainly try to clarify this in the next
edition of the HLASM Language Reference.

HLASM first searches for a mnemonic in its current opcode table. Each of
the opcode tables may have both a machine instruction and a macro of the
same name.
If only one definition exists (the typical case), HLASM uses that
definition.
A source-file macro takes precedence over a built-in definition (if that
definition exists).
If both definitions exist, you can select which one you want using a
mnemonic "tag":

                OP:ASM          Selects the built-in mnemonic definition,
usually a machine instruction
                OP:MAC          Selects the macro definition

If no definition exists, HLASM searches SYSLIB for a match; if found, it
becomes the only (and OP:MAC) entry in that opcode table.
OPSYN simply copies, replaces, or deletes an entire entry for the current
opcode table.

Regards... John
---------------
555 Bailey Ave, San Jose CA 95141   +1-408-463-3543
Internet: [email protected], [email protected], EHRMAN at STLVM27
408-463-3543, TIE 543-3543 (fax -3873)

Reply via email to