HLASM Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Operation field

HLASM Language Reference
SC26-4940-06

The entries allowed in the operation field of a model statement, before generation, are given in the following list:
  • An ordinary symbol that represents the operation code for:
    • Any machine instruction
    • A macro instruction
    • MNOTE instruction
    • A variable symbol
    • A combination of variable strings concatenated together
    • All assembler instructions, except ICTL and conditional assembly instructions
The following rules apply to the operation field of a model statement:
  • Operation code ICTL is not allowed inside a macro definition.
  • The MACRO and MEND statements are not allowed in model statements; they are used only for delimiting macro definitions.
  • If the REPRO operation code is specified in a model statement, no substitution is done for the variable symbols in the record following the REPRO statement.
  • Variable symbols can be used alone or as part of a concatenated string to generate operation codes for:
    • Any machine instruction
    • Any assembler instruction, except COPY, ICTL, ISEQ, REPRO, and MEXIT
    The generated operation code must not be an operation code for these instructions, either directly, or from copies created by use of OPSYN:
    • A conditional assembly instruction, such as LCLx, GBLx, SETx, AIF, and AGO
    • The following assembler instructions: COPY, ICTL, ISEQ, MACRO, MEND, MEXIT, and REPRO
  • Double-byte data is not valid in the operation field.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014