|
|
Returns the NM module name corresponding to the indicated address.
Syntax
nmmod (virtaddr [length])
Formal Declaration
nmmod:str (virtaddr:ptr [length:u16=$20])
Parameters
- virtaddr
The virtual address for which the symbolic module name is to be
returned.
Virtaddr can be a short pointer, a long pointer, or a
full logical code pointer.
- length
The maximum length of the module name string to be returned. If the
name does not fully fit into the space specified, it will be truncated
and followed by an asterisk (*) to indicate the
truncation.
If the indicated address is not contained in a named module, an empty string
is returned.
Examples
$nmdebug > wl nmpath( P_NEW_HEAP )
XL.PUB.SYS/p_heap:P_NEW_HEAP
$nmdebug > wl nmmod ( P_NEW_HEAP )
p_heap
This example shows a Pascal library routine called P_NEW_HEAP which is
contained in the module named p_heap.
Limitations, Restrictions
none
|