MPE/iX Quick Reference Guide (32650-90881)

160 Chapter6
System Debug
Debugging your system
func cmproclen
Returns the length of the CM procedure which contains the specified CM logical code
address.
cmproclen (
cmlogaddr
)
Formal Declaration
cmproclen:u16 (
cmlogaddr
:lcptr)
func cmseg
Returns the CM segment name for the specified CM logical code address.
cmseg (
cmlogaddr
)
Formal Declaration
cmseg:str (
cmlogaddr
:lcptr)
func cmstackbase
Returns the starting virtual address of a process's compatibility mode stack.
cmstackbase (
pin
)
Formal Declaration
cmstackbase:lptr (
pin
:u16)
func cmstackdst
Returns the DST number for a process's compatibility mode stack.
cmstackdst (
pin
)
Formal Declaration
cmstackdst:u16 (
pin
:u16)
func cmstacklimit
Returns the virtual address for the limit of a process's compatibility mode stack.
cmstacklimit (
pin
)
Formal Declaration
cmstacklimit:lptr (
pin
:u16)
func cmstart
Returns the starting point of the procedure containing the indicated CM logical code
address.
cmstart (
cmlogaddr
)
Formal Declaration