HPlogo System Debug Reference Manual > Chapter 9 System Debug Window Commands

UWm

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

Allocates a named user window at the specified address. The command name specifies which type of window to define. User windows are displayed within the group window.

Syntax



   UWA   offset     [name]    Absolute memory relative (ABS)
   UWDB  offset     [name]    DB relative
   UWS   offset     [name]    S relative
   UWQ   offset     [name]    Q relative

   UWD   dst.off    [name]    Data segment and offset

   UWCA  cmabsaddr  [name]    Code (CST) segment and offset
   UWCAX cmabsaddr  [name]    Code (CSTX) segment and offset

   UWV   virtaddr   [name]    Virtual address
   UWZ   realaddr   [name]    Real address

Parameters


offset

UWA, UWDB, UWQ, UWS only. The CM word offset which specifies the relative starting location.

dst.off

UWD only. The data segment and offset where to aim the window.

cmabsaddr

UWCA, UWCAX only. A full CM absolute code address. This code address specifies three necessary items:

  • Either the CST or the CSTX

  • The absolute code segment number

  • The CM word offset within the code segment

Absolute code addresses can be specified in two ways:
  • As a long pointer (LPTR):

    UWCA 23.2644

    Implicit CST 23.2644

    UWCAX 5.3204

    Implicit CSTX 5.3204

  • As a full absolute code pointer (ACPTR):

    UWCA CST(2.200)

    Explicit CST coercion

    UWCAX CSTX(2.200)

    Explicit CSTX coercion

    UWCAX logtoabs(prog(1.20))

    Explicit absolute conversion

The search path used for procedure name lookups is based on the command suffix letter:

UWCA

GRP, PUB, LGRP, LPUB, SYS

UWCAX

PROG

virtaddr

UWV only. A Precision Architecture virtual address. Virtaddr can be a short pointer, a long pointer, or a full logical code pointer.

realaddr

UWZ only. A Precision Architecture real memory address.

name

The name for this user window. Names are restricted to eight alphanumeric characters. If name is omitted, the window is named "user".

Examples



   %cmdebug > UWQ-30 parms

Create a user window at Q-30 and name it "parms".

   %cmdebug > UWDB+112, globvar

Create a user window at DB+112 and name it "globvar".

   $nmdebug > UWV SP-30, count

Create a user window at SP-30 (stack pointer - 30) and name it "count".

Limitations, Restrictions


Current limit: 10 user-defined windows per group.




wS


wW