For programs that require reentrant code, use the execute form of the RESUME macro together with the list form. The execute form of the macro stores the parameters into the storage area defined by the list form.
The execute form of the RESUME macro is valid only for resuming an SRB. It is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede RESUME. |
RESUME | |
␢ | One or more blanks must follow RESUME. |
SPTOKEN=sptoken addr | sptoken addr: RX-type address. |
,MF=(E,cntl addr) | cntl addr: RX-type address or register (2) - (12) |
,RSCODE=rscode addr | rscode addr: RX-type address. |
,RELATED=value | value: Any valid macro parameter specification. |
The parameters are explained under the standard form of the RESUME macro with the following exceptions: