System Debug Reference Manual (32650-90888)
Chapter 10 419
System Debug Standard Functions
func nmfile
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
func nmfile
Returns the file name corresponding to the indicated NM (code) address.
Syntax
nmfile (
virtaddr
[
length
])
Formal Declaration
nmfile:str (
virtaddr
:ptr [
length
:u16=$20])
Parameters
virtaddr
The virtual address (of NM code) for which the file name is to be returned.
Virtaddr
can be a short pointer, a long pointer, or a full logical code