The RESET option of the ESPIE routine cancels the active SPIE/ESPIE environment and restores the SPIE/ESPIE environment specified by token.
Before issuing the RESET option of the ESPIE macro, the caller does not have to place any information into any register unless using it in register notation for a particular parameter, or using it as a base register.
Some callers depend on register contents remaining the same before and after issuing a service. If the system changes the contents of registers on which the caller depends, the caller must save them before issuing the service, and restore them after the system returns control.
The RESET option of the ESPIE macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede ESPIE. |
ESPIE | |
␢ | One or more blanks must follow ESPIE. |
RESET | |
,token | token: RX-type address or register (1) or (2) - (12). |
The parameters are explained as follows:
If the token is zero, all SPIEs and ESPIEs are deleted.
None.
ESPIE RESET,TOKEN