Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.38 KB

dot-pushframe.md

File metadata and controls

34 lines (29 loc) · 1.38 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
.PUSHFRAME | Microsoft Docs
11/04/2016
cpp-tools
article
.PUSHFRAME
C++
.PUSHFRAME directive
17b123d0-4c6d-4fd2-85eb-798e8ad0a73c
8
corob-msft
corob
ghogen

.PUSHFRAME

Generates a UWOP_PUSH_MACHFRAME unwind code entry. If the optional code is specified, the unwind code entry is given a modifier of 1. Otherwise the modifier is 0.

Syntax

.PUSHFRAME [code]  

Remarks

.PUSHFRAME allows ml64.exe users to specify how a frame function unwinds and is only allowed within the prologue, which extends from the PROC FRAME declaration to the .ENDPROLOG directive. These directives do not generate code; they only generate .xdata and .pdata. .PUSHFRAME should be preceded by instructions that actually implement the actions to be unwound. It is a good practice to wrap both the unwind directives and the code they are meant to unwind in a macro to ensure agreement.

For more information, see MASM for x64 (ml64.exe).

See Also

Directives Reference