![Freescale Semiconductor Motorola MMDS0508 Скачать руководство пользователя страница 176](http://html.mh-extra.com/html/freescale-semiconductor/motorola-mmds0508/motorola-mmds0508_operation-manual_2330546176.webp)
Command-Line Commands
MMDS0508OM/D
176
Command-Line Commands
MOTOROLA
STACK
Display Stack
STACK
The temporary stack window appears near the center of the debug
screen when the STACK command is entered. As
Figure 19
shows, this
window displays the contents of the SP register at the top of the window.
The 12 bytes at the top of the stack are displayed to the left. The
interpretation of the stack shown to the right in the window is valid only
if the last push to the stack was caused by an interrupt. Press the ESC
key to remove the stack window and return to the debug window.
Syntax:
STACK
Example:
>STACK
Display the current configuration of the stack.
NOTE:
The interrupt stack data to the right side of the window is an
interpretation of the top five bytes on the stack. If the last push to the
stack was due to a BSR or JSR instruction, five bytes were not pushed
to the stack and the interrupt stack information is invalid.
Figure 19. Stack Window
STACK
Stack Pointer = 00F8
Raw Bytes:
....
..
....
..
....
..
....
..
00FF
7D
00FE
01
00FD
44
00FC
02
00FB
10
00FA
FF
00F9
E5
SP> 00F8
07
Interrupt Stack:
...HINZC
CCR > 11100101
A > FF
X > 10
ret > 0244
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..