gtpg2m33General Macros

LEVTA-Level Test

This general macro determines whether a core block is being held at a specified level or data event control block (DECB) by using a CLI instruction to test the appropriate byte in the entry control block (ECB). A user can specify two symbolic addresses: one for return of control if the core level or DECB is in use, and the other for return if it is not in use. At least one of these addresses must be supplied.

Format




label
A symbolic name can be assigned to the macro statement.

DECB=(reg)
The general register (R1-R7) containing the address of the DECB to be tested for a core block held.

INUSE
A location in which to branch if the ECB data level or DECB tested contains a core block.

symbol1
The address of the routine in which to branch when an ECB data level or DECB is in use.

LEVEL
The level to be tested for a core block held.

literal1
The value is a core level such that 0 <= literal1 >=F

NOTUSED
A location in which to branch if the ECB data level or DECB tested does not contain a core block.

symbol2
The address of the routine in which to branch when ECB data level or DECB is not in use.
Note:
Either symbol1 or symbol2, or both, must be specified together with the associated keywords.

Entry Requirements

Return Conditions

Programming Considerations

Examples

None.