SVC 14, SPIE

Restriction: This topic applies to Windows environments only.
INPUT
Register 1

Address of parameter list

OUTPUT
Register 1

If a SPIE environment is already active when you issue the SPIE macro, the address of the previous PICA (Program Interruption Control Area) is returned in register 1. If no previous SPIE environment is active, a 0 is returned in register 1.

Parameter list, 6 bytes in length.

Bytes Description
0-3 Address of SPIE exit routine to be enabled.
4-5 2-byte field where bits 0 to 15 correspond to the 16 possible program interruption types to be handled by this exit. A bit setting of 1 indicates that the exit routine is to handle the corresponding interruption type. For example, the vale x'4000' would enable the handler for interruption type 1.