HPlogo System Debug Reference Manual > Chapter 8 System Debug Windows

P (nmP) - The NM Program Window

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

The NM program window tracks the NM program counter (PC), displaying the instructions that are being executed. The banner line gives information for the first address displayed in the program window.

nmP$ PROG  f9.5d18  GRADES.DEMO.TELESUP/processstudent.lowsco*+$dc  Level  0,0
00005d18:         lowscore+$dc           4bdc3fa1  LDW      -48(0,30),28
00005d1c:   T|2|  lowscore+$e0           e840c000  BV       0(2)
00005d20:         lowscore+$e4           37de3fa1  LDO      -48(30),30
00005d24:    [1]> processstudent         6bc23fd9  STW      2,-20(0,30)
00005d28:         processstudent+$4      6fc30100  STWM     3,128(0,30)
00005d2c:         processstudent+$8      6bc43f09  STW      4,-124(0,30)
00005d30:         processstudent+$c      6bc53f11  STW      5,-120(0,30)

window banner line
  • nmP $ - Abbreviation for the window and the current output display radix for the window.

  • PROG f9.5d18 - The logical code address for the first line in the window. The program window is aimed at the PROGram file, space: $f9, offset: $5d18.

  • GRADES.DEMO.TELESUP/ - The name of the file which contains the displayed code.

  • processstudent - The name of the level 1 procedure that appears in the first line of the window.

  • .lowsco* - The nested procedure that appears in the first line of the window. An asterisk is used to flag the fact that the full name of the nested procedure does not fit in the display. (See the DC command and the NMPATH and NMPROC functions for instructions on displaying full procedure names).

  • Level 0,0 - The current stack level, interrupt level (refer to the LEV command).

window body line(s)
  • offset: - The virtual byte offset of the instruction line which is being displayed.

  • breakpoints - Breakpoints are displayed between the offset and the 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.

  • procedurename+offset - The symbolic procedure name and the byte offset within the procedure.

  • instruction (numeric) - The instruction value is displayed formatted in the current output base for the window.

  • instruction (disassembly) - The disassembled instruction value.




P (cmP) - The CM Program Window


Program Windows for Object Code Translation