Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 903 Bytes

dot_allocstack.md

File metadata and controls

15 lines (8 loc) · 903 Bytes

Asmc Macro Assembler Reference

.ALLOCSTACK

Generates a UWOP_ALLOC_SMALL or a UWOP_ALLOC_LARGE with the specified size for the current offset in the prologue.

.ALLOCSTACK size

.ALLOCSTACK allows 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. .ALLOCSTACK 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.

The size operand must be a multiple of 8.

See Also

Directives Reference | Microsoft Macro Assembler Reference