| |||
| Home > Directives Reference > Frame directives > FRAME SAVE | |||
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.
FRAME SAVE{reglist},offset
where:
reglistis a list of registers stored consecutively starting
at from the canonical
frame address. There must be at least one register in the list.offset
Use FRAME SAVE immediately after the callee stores
registers onto the stack.
can
include registers which are not required for backtracing. The assembler determines
which registers it needs to record in the DWARF call frame information.reglist
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 (see FRAME PUSH).