You copied the Doc URL to your clipboard.

21.36 FRAME SAVE

The FRAME SAVE directive describes the location of saved register contents relative to the canonical frame address.

Syntax

FRAME SAVE {reglist}, offset

where:

reglist

is a list of registers stored consecutively startingat offset from the canonical frameaddress. There must be at least one register in the list.

Usage

You can only use FRAME SAVE within functions with FUNCTION and ENDFUNC or PROC and ENDP directives.

Use it immediately after the callee stores registers onto the stack.

reglist can include registerswhich are not required for backtracing. The assembler determines whichregisters it requires to record in the DWARF call frame information.

Note

If your code uses a single instruction to save registers andalter the stack pointer, you can use FRAME PUSH insteadof using both FRAME SAVE and FRAMEADDRESS.

Related reference

Was this page helpful? Yes No