RESMGR - Execute form

Use the execute form of RESMGR together with the list form of the macro for applications that require reentrant code. The execute form of the macro stores the parameters into the storage area defined by the list form. You do not have to specify any parameters except MF on the execute form. For the parameters you do not specify on the execute form, RESMGR uses the parameters on the list form or their defaults.

Syntax

The execute form of the RESMGR macro is written as follows:

Syntax Description
   
    name name: Symbol. Begin name in column 1.
   
One or more blanks must precede RESMGR
   
RESMGR  
   
One or more blanks must follow RESMGR
   
MF=(E,listaddr) listaddr: RX-type address or register (2) - (12).
   
    ,ADD  
    ,DELETE  
   
    ,TOKEN=tokaddr tokaddr: A-type address or register (2) - (12).
   
    ,TYPE=ADDRSPC  
    ,TYPE=TASK  
   
    ,ASID=CURRENT asid: A constant or register (2) - (12).
    ,ASID=ALL  
    ,ASID=asid  
   
    ,TCB=CURRENT  
    ,TCB=ALL  
    ,TCB=tcbaddr tcbaddr: RX-type address or register (2) - (12).
    ,TTOKEN=ttoken ttoken: RX-type address or register (2) - (12).
   
    ,ROUTINE=(LINK, pgname) pgname: a C-type constant, RX-type address, or register (2) - (12).
    ,ROUTINE=(BRANCH, pgaddr) pgaddr: RX-type address or register (2) - (12).
    ,ROUTINE=(PC, pcnum) pcnum: A constant, an expression, or register (2) - (12).
    ,ROUTINE=(RLXPC,     
seqnumpcnum)
seqnumpcnum: RX-type address or register (2) - (12).
   
    ,ECB=ecbaddr ecbaddr: RX-type address or register (2) - (12).
   
    ,PARAM=paddr paddr: RX-type address or register (2) - (12).
   
    ,RELATED=value value: Any valid macro keyword specification.
   

Parameters

The parameters are explained under the standard form of the RESMGR macro with the following exceptions:

MF=(E,listaddr)
E specifies the execute form of the RESMGR macro and listaddr specifies the address of the parameter list.