STACKWINDOW (Stack Window)

The STACKWINDOW command displays selected areas of a stack within a memory dump. The display contains approximately 22 lines of data. In particular, your view of the specified stack centers on a particular stack cell. It is recommended that you use the HISTORY option of the STACK (Format Stack Contents) before you use the STACKWINDOW command. That option provides a view of the locations of the environments within the stack.

Use the STACKWINDOW command when it is not convenient to print the whole stack on paper.

For more information, see the discussions of the STACK and PV (Print Value) commands in this section.

Syntax

── STACKWINDOW ─┬────────────────┬─┬───────────────┬───────────────────┤
                ├─<stack number>─┘ └─ # ──<offset>─┤
                ├─ + ─┬─┬──────────────────────────┤
                ├─ - ─┘ └─<# cells>────────────────┤
                └─ ? ──────────────────────────────┘

Explanation

The following text describes the meaning of each construct:

STACKWINDOW

Reopens a window created by a STACKWINDOW <stack number>form of the command.

STACKWINDOW <stack number> STACKWINDOW <stack number> # <offset>

Create a window so you can view the specified stack. If you do not specify an offset, you see the view from the top of the stack. If you specify an offset, you see the view that centers on that point in the stack. Once you create a stack window, it remains viewable, unless you change it with another STACKWINDOW command. The view limits all stack structures to a maximum of five lines, and arrays to one line of data values. To view more of a particular stack structure, enter one of the following PV commands:

PV SW
PV SW # <offset>

STACKWINDOW # <offset>

Centers the window on the specified point in the current stack.

STACKWINDOW + STACKWINDOW -

Scroll the window up (+) or down (-) the stack by approximately one screen.

STACKWINDOW + <# cells> STACKWINDOW -<# cells>

Scroll the window up (+) or down (-) by the specified number of cells.

STACKWINDOW ?

Displays the stack number and offset of the current window.

Example

The following example shows the output from the STACKWINDOW command.

STACKWINDOW 031 #02A8
     STACKDUMP FOR STACK 031    MIX NUMBER 5487/5487        WINDOW @002A8
02AD            3 2104B2 50E003  RCW:  LL=3, NORML STATE
[USER SEGMENT     @ 0003:0B25:2 (23661000)]
                                SEG DESC:  3 800149 E0801B
                                CODE:  3 B95032 B8B050   3 CDB8AE 516250   3
08AF30 027003  >3 BDAB70 04B870<  3 03BDB2 06D5BE
02AC -----D[3]=>3 031001 44C005  *MSCW: PREVIOUS MSCW @ 02A7; D[2]=0014 IN THIS STACK
02AB (03,0004)  0 000000 000000
02AA (03,0003)  5 E40000 00C550  DESC [PRESENT-COPY]: ASD=0C550, STRING
(8-BIT), INDEX=0+0 (MOM @ 0092 IN  THIS STACK)
02A9 (03,0002)  0 000000 000050
02A8            3 21041B D0E003  RCW:  LL=3, NORML STATE
[USER SEGMENT     @ 0003:01BD:2 (12642500)]
                                SEG DESC:  3 800149 E0801B
                                CODE:  3 507EA6 B2049C   3 2A0350 72BAAE   3
5160B2 505072  >3 BDAB50 C6B99A<  3 0901A0 01C1AE
02A7 -----D[3]=>3 031001 44C002  *MSCW: PREVIOUS MSCW @ 02A5; D[2]=0014 IN THIS
STACK
02A6            3 21088F 30E003  RCW:  LL=3, NORML STATE
[USER SEGMENT     @ 0003:08F3:4 (22696800)]
                                SEG DESC:  3 800149 E0801B