How can I access the current value of the stack pointer and heap pointer when the EDK SW debugger hits a breakpoint?
The stack pointer for the MicroBlaze is contained in R1. The heap pointer is a software pointer. There is no dedicated register (like the stack). It is purely a C/software construct. No special handling is done when handling interrupts, etc. A heap is defined by the C programming language standard, and hence not documented. A stack pointer is saved (on the stack itself) on multiple occasions (including interrupts). Again, this is a default behavior for all stack-based processor architectures and hence no special documentation is present.
The PowerPC stack and heap information is available on the IBM Web site at