Freescale Semiconductor Motorola MMDS0508 Operation Manual page 176

Motorola modular development system
Table of Contents

Advertisement

Command-Line Commands
STACK
NOTE:
176
Freescale Semiconductor, Inc.
Display Stack
The temporary stack window appears near the center of the debug
screen when the STACK command is entered. As
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.
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.
Raw Bytes:
....
....
....
....
00FF
00FE
00FD
00FC
00FB
00FA
00F9
SP> 00F8
Command-Line Commands
For More Information On This Product,
Go to: www.freescale.com
STACK
Stack Pointer = 00F8
Interrupt Stack:
..
...HINZC
..
CCR > 11100101
..
A > FF
..
X > 10
7D
ret > 0244
01
44
02
10
FF
E5
07
Figure 19. Stack Window
STACK
Figure 19
shows, this
MMDS0508OM/D
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mmds0508

Table of Contents