User`s guide
MPLAB IDE Windows
© 2006 Microchip Technology Inc. DS51519B-page 137
12.7.3 Hardware Stack Window FAQ
How do I:
Understand the Return Address information?
See Section 12.7.1 “Hardware Stack Window Display”
Pop the stack?
Click on the right mouse button in the window to open a menu. Select Pop Stack.
Set Top-of-Stack (TOS)?
Click on the right mouse button in the window to open a menu. Select Set Top-of-Stack.
12.8 PROGRAM MEMORY WINDOW
The Program Memory window displays locations in the range of program memory for
the currently selected processor. If external program memory is supported by the
selected device and enabled, it will also appear in the Program Memory window.
• Program Memory Window Display
• Program Memory Window Menu
• Program Memory Window FAQ
12.8.1 Program Memory Window Display
You may change the way opcodes are displayed in the program memory window by
clicking on one of the buttons on the bottom of the window:
• Opcode Hex
• Machine or Symbolic
• PSV Mixed (dsPIC DSC/PIC24 devices only)
• PSV Data (dsPIC DSC/PIC24 devices only)
12.8.1.1 OPCODE HEX
This format displays program memory information as hex code. The window will have
the following columns:
• Address – Hexadecimal address of the opcode in the next column.
• Opcode Blocks – Hexadecimal opcode, shown in 2- or 3-byte blocks. For most
PICmicro MCUs these blocks represent words. For PIC18CXXX devices, the
blocks represent 2 bytes. For dsPIC DSC devices, the blocks represent 3 bytes.
The opcode block that is highlighted represents the current location of the
program counter.
• ASCII – ASCII representation of the corresponding line of opcode.
12.8.1.2 MACHINE OR SYMBOLIC
Machine format displays disassembled hex code with no symbolic information.
Symbolic format displays disassembled hex code with symbols. The window will have
the following columns:
• Debug Info – Information useful for debugging. A pointer shows the current
location of the program counter.
• Line – Reference line number
• Address – Opcode hexadecimal address.
• Opcode – Hexadecimal opcode, shown in 2- or 3-byte blocks. For most PICmicro
MCUs these blocks represent words. For PIC18CXXX devices, the blocks
represent 2 bytes. For dsPIC DSC devices, the blocks represent 3 bytes.