gtps1m0wSystem Macros

$MONTC-Set Supervisor State (Monitor Mode) with PSW Return

Use this system macro to change the operating state of the central processing unit (CPU) from problem to supervisor state with key 0 set and the input/output (I/O) interrupts masked. This macro provides a mechanism for returning the first part of the program status word (PSW) active at the time of its invocation to the calling program.

Supervisor state allows processing of privileged instructions. See the MONTC-Set Supervisor State (Monitor Mode) macro for an E-type method of setting supervisor state.

Format




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

OLDSTATE=Rx
An optional parameter specifying a register to receive the first word of the PSW active at the time of $MONTC processing.

Entry Requirements

This macro is for use in the control program (CP) only.

Return Conditions

Programming Considerations

Examples

None.