HPlogo System Debug Reference Manual > Chapter 10 System Debug Standard Functions

func abstolog

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

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

Syntax



   abstolog (cmabsaddr)

Formal Declaration



   abstolog:lcptr (cmabsaddr:acptr)

Parameters


cmabsaddr

The CM absolute code address which is to be converted to a CM logical code address.

Cmabsaddr must be a full CM absolute code address (ACPTR). For Example:

CST(2.102)

CST segment 2 offset 102

CSTX(1.330)

CSTX segment 1 offset 330

LOGTOABS(cmpc)

Explicit absolute conversion

Examples



   %cmdebug > wl cmpc
   PROG %0.1273
   %cmdebug > wl logtoabs(cmpc)
   CSTX %1.1273

   %cmdebug > wl abstolog(cstx(1.1273))
   PROG %0.1273

Absolute CM address CSTX 1.1273 is converted into logical address PROG %0.1273.

   %cmdebug > wl abstolog(cst(43.304))
   SYS %32.304

Absolute CM address CST 43.304 is converted into logical address SYS %32.304.

   %cmdebug > wl abstolog(cst(103.4274))
   GRP %4.4274

Absolute CM address CST 103.4274 is converted into group library logical address GRP 4.4274.

Limitations, Restrictions


none




Chapter 10 System Debug Standard Functions


func asc