Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (A-C)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
4-4
ADDRTOPROCNAME
Accepts a P register value and stack marker ENV value and returns the associated
symbolic procedure name and various optional items that describe the procedure in
detail.
-105 TNS user code segment.
-104 TNS user library segment.
-103 TNS user data segment.
-102 Main RISC stack segment.
-101 Debug stack segment.
-100 Priv RISC stack segment.
-99 System data segment.
-98 System code segment.
-97 System code segment.
-96 System code segment.
-95 System code segment.
-94 System code segment.
error-detail, INT .EXT:ref:1 output
error := ADDRTOPROCNAME ( p-reg
,stack-env
,proc-name
,proc-name-size
,proc-name-length
,[ base ]
,[ size ]
,[ entry ]
,[ attributes ]
,[ pin ] );
error, INT returned value
0 Successful call; the procedure name is deposited into proc-name for proc-
name-length bytes.
11 A procedure name was not found.
22 One of the parameters specifies an address that is out of bounds.
23 The p-reg, stack-env, and pin parameters do not indicate a legal code
location.