System Debug Reference Manual (32650-90888)

Chapter 10 399
System Debug Standard Functions
func hash
$nmdat > wl grp( 1234.5678 )
GRP $1234.5678
$nmdat > wl grp( true )
GRP $0.1
$nmdat > wl grp( "ABCDEFG" )
GRP $414243.44454647
Limitations, Restrictions
none
func hash
Hashes a virtual address into a hash table (real) offset.
Syntax
hash (
virtaddr
)
The hash value can be added to the Hash table base real address (TR1) to determine the
real offset to the first PDIR entry.
Formal Declaration
hash:s32 (
virtaddr
:ptr)
Parameters
virtaddr
The virtual address that is to be hashed.
Virtaddr
can be a short pointer, a long pointer, or a full logical code
pointer.
Examples
nmdat > wl pc
SYS $a.d87f8
nmdat > wl hash(pc)
$103c4
nmdat > dz tr1+hash(pc)
REAL $103c4 $ 00001b00
nmdat > dz tr0+1b00,4
REAL $0061dd00 $ 80000000 0000000a 000d8000 82800000