func nmentry [ System Debug Reference Manual ] MPE/iX 5.0 Documentation
System Debug Reference Manual
func nmentry
Returns the entry point of the NM procedure containing the indicated
address.
Syntax
nmentry (virtaddr)
Formal Declaration
nmentry:lptr (virtaddr:ptr)
Parameters
virtaddr The virtual address for which the entry point of the
surrounding (level one) NM procedure is to be returned.
Virtaddr can be a short pointer, a long pointer, or a
full logical code pointer.
Examples
$nmdebug > wl average
GRP $4d8.15c88
$nmdebug > wl nmentry( average+20 )
GRP $4d8.15c88
Print the address for the procedure average. Given any offset within the
procedure, the NMENTRY function returns the address of the procedure's
entry point.
$nmdebug > wl nmaddr("processstudent.highscore")
PROG $4d5.5b50
$nmdebug > wl nmentry ( nmaddr( "highscore" "nested") + 40 )
PROG $4d5.5b50
Print the address for the nested procedure highscore. Given any offset
within the nested procedure, the NMENTRY function will return the address
of the nested procedure's entry point.
Limitations, Restrictions
none
MPE/iX 5.0 Documentation