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

func off

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

Returns the offset portion of a virtual or extended address.

Syntax



   off (virtaddr)

Formal Declaration



   off:u32 (virtaddr:ptr)

Parameters


virtaddr

The virtual address whose offset portion is to be returned.

Virtaddr can be a short pointer, a long pointer, or an extended address.

Examples



   $nmdebug > wl pc
   PROG $2e.213403

   $nmdebug > wl off(pc)
   $213403

   $nmdebug > wl off(a.1234)
   $1234

Limitations, Restrictions


none




func nmtocmnode


func pcb