System Debug Reference Manual (32650-90888)
Chapter 10 425
System Debug Standard Functions
func nmstackbase
SYS $a.3f8140
$nmdebug > wl nmproc( a.3f8140 )
OPEN
$nmdebug > wl FOPEN+40
SYS $a.3f8180
$nmdebug > wl nmproc( a.3f8180 )
FOPEN+$40
$nmdebug > wl nmproc( pc )
PROGRAM+4c
Limitations, Restrictions
none
func nmstackbase
Returns the virtual address of the start of the process's NM stack.
Syntax
nmstackbase (
pin
)
Formal Declaration
nmstackbase:lptr (
pin
:u16)
Parameters
pin
The process identiļ¬cation number (PIN) for which the starting virtual
address of the NM stack is to be returned.
Examples
$nmdebug > wl nmstackbase(8)
$5e4.4020ea00
Display the virtual address of the NM stack base for PIN 8.
$nmdat > wl "NM stack size = ", nmstacklimit(pin) - nmstackbase(pin)
NM stack size = $60000
Calculate and display the NM stack length (in bytes) for the current PIN.