Edit

.ENDPROLOG

Marks the end of the prologue declarations.

Syntax

.ENDPROLOG

Remarks

It's an error to use any of the prologue declarations outside of the region between PROC FRAME and .ENDPROLOG.

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

Unwind Version 3 behavior

Important

Unwind Version 3 support is experimental and is subject to change. Enable it with ml64.exe /unwindv3.

.ENDPROLOG is also used in Unwind Version 3 and continues to mark the end of the function prologue. It doesn't generate a Windows unwind data (WOD) unwind code entry.

It's an error to use any prologue directive outside the region between PROC FRAME and .ENDPROLOG.

See also

x64 Unwind Version 3 (experimental)
Directives Reference
MASM BNF Grammar