Use the FRAME RESTORE directive to inform the
assembler that the contents of specified registers have been restored
to the values they had on entry to the function. You can only use
it within functions with FUNCTION and ENDFUNC or PROC and ENDP directives.
Syntax
FRAME RESTORE {reglist}
where:
reglist
is a list of registers whose contents have been
restored. There must be at least one register in the list.
Usage
Use FRAME RESTORE immediately after the callee
reloads registers from the stack. You do not have to do this after
the last instruction in a function.
reglist can
contain integer registers or floating-point registers, but not both.
Note
If your code uses a single instruction to load registers and
alter the stack pointer, you can use FRAME POP instead
of using both FRAME RESTORE 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.