MPE/iX Quick Reference Guide (32650-90881)

166 Chapter6
System Debug
Debugging your system
Formal Declaration
nmproc:str (
virtaddr
:ptr [
length
:u16=$40])
func nmstackbase
Returns the virtual address of the start of the process's NM stack.
nmstackbase (
pin
)
Formal Declaration
nmstackbase:lptr (
pin
:u16)
func nmstacklimit
Returns the virtual address of the limit of a process's NM stack.
nmstacklimit (
pin
)
Formal Declaration
nmstacklimit:lptr (
pin
:u16)
func nmtocmnode
Returns the CM logical code address of the closest CM node point corresponding to the
speciļ¬ed NM address.
nmtocmnode (
virtaddr
[
node
])
Formal Declaration
nmtocmnode:lcptr (
virtaddr
:lptr [
node
:str="PREV"])
func off
Returns the offset portion of a virtual address.
off (
virtaddr
)
Formal Declaration
off:u32 (
virtaddr
:ptr)
func pcb
Returns the virtual address (SPTR) of a process's PCB (process control block).
pcb (
pin
)
Formal Declaration
pcb:sptr (
pin
:u16)
func pcbx
Returns the virtual address (SPTR) of a process's PCBX (process control block extension).