Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 11 System Debug Standard Functions

func vtor

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Virtual to real. Converts a virtual address to a real address.

Syntax

   vtor (virtaddr)  

In Debug, if the virtual address is not resident, it is brought into memory.

In DAT, if the virtual address is not resident, an error is generated.

Formal Declaration

   vtor:u32 (virtaddr:ptr) 

Parameters

virtaddr

The virtual address to be converted to a real address.

Virtaddr can be either a short or long pointer.

Examples

   $nmdebug > wl pc
PROG $741.5934

Display the current logical code address (LCPTR) of the NM program counter.

   $nmdebug > wl vtor(pc)
$1827934

Translate the logical code address (LCPTR) into the corresponding real address.

   $nmdebug > wl rtov(1827934)
$741.5934

Converts the real address back into a virtual address (LPTR).

Limitations, Restrictions

none

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.