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 10 System Debug Standard Functions

func logtoabs

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Logical to absolute. Converts a CM logical code address (LCPTR) into a CM absolute code address (ACPTR).

Syntax

   logtoabs (cmlogaddr)  

Formal Declaration

   logtoabs:acptr (cmlogaddr:lcptr) 

Parameters

cmlogaddr

The CM logical code address to be converted into an absolute code pointer.

Cmlogaddr must be a full CM logical code address (LCPTR). For example:

CMPC

Current CM program counter

CMPW+4

Top of CM program window + 4

PROG(2.102)

Program file logical seg 2 offset 102

fopen+102

CM procedure fopen + %102 (assumes CM mode)

cmaddr('fopen')+%102

CM procedure fopen + %102 (NM or CM mode)

Examples

   %cmdebug > wl logtoabs(prog(0.1273))
CSTX %1.1273

Logical CM address PROG 0.1273 is converted into absolute address CSTX 1.1273.

   %cmdebug > wl logtoabs(sys(32.304))
CST %43.304

Logical CM address SYS 32.304 is converted into absolute address CST 43.304.

   %cmdebug > wl logtoabs(grp(4.4274))
CST %103.4274

Logical group library address GRP 4.4274 is converted into absolute address CST 103.4274.

Limitations, Restrictions

none

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