The FRAME SAVE directive describes the location
of saved register contents relative to the canonical frame address.
You can only use it within functions with FUNCTION and ENDFUNC or PROC and ENDP directives.
Syntax
FRAME SAVE {reglist}, offset
where:
reglist
is a list of registers stored consecutively starting
at offset from the
canonical frame address. There must be at least one register in
the list.
Usage
Use FRAME SAVE immediately after the callee stores
registers onto the stack.
reglist can
include registers which are not required for backtracing. The assembler
determines which registers it requires to record in the DWARF call
frame information.
Note
If your code uses a single instruction to save registers and
alter the stack pointer, you can use FRAME PUSH instead
of using both FRAME SAVE and FRAME ADDRESS.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.