HPlogo System Debug Reference Manual > Chapter 8 System Debug Windows

S - The CM Stack Window

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

The stack window tracks S, the current top of the CM stack (TOS).

S %  (DB  mode)                    SDST=000160                 Level   0
000700:  000002  000132  000253  060301 Q>000010  000000  000000  000000
000710:  000002<S

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

  • (DB mode) - The address mode for the window. This can be DB, DL, Q, S, or DST. The address shown at the left side of the window is relative to the indicated base. (Refer to the SM command.)

  • SDST - SDST is the data segment for the S window. In most cases, this is the same as the stack dst. This window may be aimed away from the stack, in which case this value indicates the dst being viewed.

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

window body line(s)
  • offset: - The starting CM word offset for the line of displayed values. The values may be unsigned (default) or signed (relative to the address mode base). See the SM command for details.

  • values - The actual data values are displayed in the current output base of the window.

  • <S - Indicates the location of the current top of stack. The TOS value is typically underlined. (Refer to the ENV MARKER command.) If the TOS value has changed, the enhancement for the changed value will overwrite the enhancement for the TOS indicator (as in our example).

  • Q> - Indicates the location of Q. The stack marker (at Q-3, Q-2, Q-1, Q) is typically underlined. (Refer to the ENV MARKER command.)




Q - The CM Stack Frame Window


G - The Group (of User) Window