System Debug Reference Manual (32650-90888)

428 Chapter10
System Debug Standard Functions
func pcb
Virtaddr
can be a short pointer, a long pointer, or an extended address.
Examples
$nmdebug > wl pc
PROG $2e.213403
$nmdebug > wl off(pc)
$213403
$nmdebug > wl off(a.1234)
$1234
Limitations, Restrictions
none
func pcb
Returns the virtual address (SPTR) of a process's process control block (PCB).
Syntax
pcb (
pin
)
Formal Declaration
pcb:sptr (
pin
:u16)
Parameters
pin
The process identification number (PIN) for which the address of the PCB
is to be returned. Note that this is a CM data structure.
Examples
$nmdebug > wl pcb(8)
$80001750
Limitations, Restrictions
If the PIN does not exist, the function result is undefined and an error status is set.