bdfs1m0xStructured Programming Macros

#EXEC-Execute Macro

Use this macro to generate an EX instruction. See ESA/370 Principles of Operation or ESA/390 Principles of Operation for more information about the EX instruction.

Note:
You can also use the #EXEC macro as a conditional expression; see Conditional Expression Format for more information about the syntax of a conditional expression.

Format




reg
is the register to use as the first operand in the EX instruction.

copcode
is an operation code starting with C; for example, CLC, CR, and so on.

opcode
is an operation code that sets a condition code but does not start with C; for example, TM, OC, and so on.

operand
is an operand for the instruction, which can be anything that the assembler language allows for an assembler instruction operand. See ESA/370 Principles of Operation or ESA/390 Principles of Operation for more information about assembler instructions and valid operands. Some of the types of operands include:

msk
is the M3 or R3 operand of an RS instruction. See ESA/370 Principles of Operation or ESA/390 Principles of Operation for more information about the RS instruction.
Note:
You must specify the msk with an RS instruction. Do not specify the msk for a non-RS instruction.

mnemonic
is one of the condition-code mnemonics shown in Table 2.
Note:
You must specify the mnemonic when you use the #EXEC macro as a conditional expression. Do not specify the mnemonic when using the #EXEC macro alone.

Entry Requirements

None.

Return Conditions

Control is returned to the next sequential instruction.

Programming Considerations

Examples

Related Macros