Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

Memory Allocation and Access
2012-2013 Microchip Technology Inc. DS50002071C-page 149
FIGURE 10-2: CALL OR RCALL
The called function (callee) can now allocate space for its local context (Figure 10-3).
FIGURE 10-3: CALLEE SPACE ALLOCATION
Finally, any callee-saved registers that are used in the function are pushed
(Figure 10-4).
Stack grows
toward
greater
addresses
SP (W15)
FP (W14)
Return addr [23:16]
Return addr [15:0]
Parameter 1
:
Parameter n-1
Parameter n
Caller Frame
Stack grows
toward
greater
addresses
SP (W15)
FP (W14)
Local Variables
Return addr [15:0]
Parameter 1
:
Parameter n-1
Parameter n
Caller Frame
Return addr [23:16]
and Temporaries
Previous FP

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh