Stack visualisations are designed to provide information regarding the stack pointer and stack type for the stack access instructions LDM[type]
and STM[type]
. The visualisation can be viewed by using the button Show Stack
that automatically appears when needed, or by using the keyboard shortuct Shortcut+Alt+K
if the visualisation has been disabled via the settings panel.
Shortcut
is Ctrl
for Windows and Linux, and Cmd
for Mac OS X.
The following information is provided in the stack visualisations:
Item | Description |
---|---|
Pointer name | The register name R0-R14 used as the stack pointer |
Base address | The value of the stack pointer at the start of execution |
Access mode | Load for LDM instructions, and Store for STM instructions |
Stack type | One of the 4 overarching stack types: Fully Descending , Fully Ascending , Empty Descending , Empty Ascending |
Behaviour | A one-line summary of the stack behaviour |
Write-back disabled | The stack pointer remains unchanged after execution |
Write-back enabled | After execution, the stack pointer is updated to the Pointer After value as shown |
Stack table | Shows registers, memory addresses and values in memory part of the stack |