HPlogo System Debug Reference Manual > Chapter 8 System Debug Windows

P (cmP) - The CM Program Window

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

The CM program window tracks the CM program counter (CMPC), displaying the instructions that are being executed.

cmP %    PROG 0.1667       (E) SEG'           CSTX 1         Level  0
001662:    T|2|  PROCESSSTUDENT+%255     031403  3.  EXIT  3
001663:          PROCESSSTUDENT+%256     077777  ..  ADDM  S-%77,I,X
001664:          PROCESSSTUDENT+%257     177777  ..  LRA   S-%77,I,X
001665:     [1]  ?PROCESSSTUDENT         000700  ..  DZRO, NOP
001666:          PROCESSSTUDENT+%261     151605  ..  LDD   Q-5
001667:        > PROCESSSTUDENT+%262     170005  ..  LRA   P+5
001670:          PROCESSSTUDENT+%263     000733  ..  DZRO, INCA

window banner line
  • cmP % - Abbreviation for the window and the current output display radix for the window.

  • PROG 0.1667 - The logical code address for the CM program counter. If the window does not contain the CM program counter, then the value is the logical code address of the first line in the window. In our example, the CM program counter is currently at a program file, logical segment number 0, at an offset of 1667 words. Other possible logical segment types are GRP, PUB, LPUB, LGRP, SYS.

  • (E) - The segment is (E) emulated or (T) translated.

  • SEG' - The segment name for the current segment being displayed.

  • CSTX 1 - The CSTX (or CST) absolute segment number.

  • Level 0 - The current stack level. (Refer to the LEV command.)

window body line(s)
  • offset: - The CM word offset (segment relative) for the instruction line which is being displayed.

  • breakpoints - Breakpoints are displayed between the offset and instruction. Refer to the conventions pages for a description of all possible breakpoint notations.

    [1]

    process local breakpoint, index number 1

    T|2|

    process local temporary breakpoint, count not exhausted yet, index number 2.

  • > - Flags the current program counter location.

  • procedure-name+offset - The symbolic procedure name and the CM word offset within the procedure.

  • instruction (numeric, ASCII) - The instruction value is displayed formatted in the current output base for the window, and then displayed as two ASCII characters (for literals).

  • instruction (disassembly) - The disassembled instruction value.




Sr - The NM Special Registers Window


P (nmP) - The NM Program Window