Share via


Directives Reference

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Directives Reference.

x64**

.ALLOCSTACK .ENDPROLOG PROC
.PUSHFRAME .PUSHREG .SAVEREG
.SAVEXMM128 .SETFRAME

Code Labels

ALIGN EVEN
LABEL ORG

Conditional Assembly

ELSE ELSEIF ELSEIF2
IF IF2 IFB/IFNB
IFDEF/IFNDEF IFDIF/IFDIF[[I]] IFE
IFIDN/IFIDN[[I]]

Conditional Control Flow

.BREAK .CONTINUE .ELSE
.ELSEIF .ENDIF .ENDW
.IF .REPEAT .UNTIL
.UNTILCXZ .WHILE

Conditional Error

.ERR .ERR2 .ERRB
.ERRDEF .ERRDIF/.ERRDIF[[I]]] .ERRE
.ERRIDN/.ERRIDN[[I]] .ERRNB .ERRNDEF
.ERRNZ

Data Allocation

ALIGN BYTE/SBYTE DWORD/SDWORD
EVEN FWORD LABEL
ORG QWORD REAL4
REAL8 REAL10 TBYTE
WORD/SWORD

Equates

=
EQU
TEXTEQU

Listing Control

.CREF .LIST .LISTALL
.LISTIF .LISTMACRO .LISTMACROALL
.NOCREF .NOLIST .NOLISTIF
.NOLISTMACRO PAGE SUBTITLE
.TFCOND TITLE

Macros

ENDM EXITM GOTO
LOCAL MACRO PURGE

Miscellaneous

ALIAS ASSUME COMMENT
ECHO END .FPO
INCLUDE INCLUDELIB MMWORD
OPTION POPCONTEXT PUSHCONTEXT
.RADIX .SAFESEH XMMWORD
YMMWORD

Procedures

ENDP INVOKE PROC
PROTO

Processor

.386 .386P .387
.486 .486P .586
.586P .686 .686P
.K3D .MMX .XMM

Repeat Blocks

ENDM FOR FORC
GOTO REPEAT WHILE

Scope

COMM EXTERN EXTERNDEF
INCLUDELIB PUBLIC

Segment

.ALPHA ASSUME .DOSSEG
END ENDS GROUP
SEGMENT .SEQ

Simplified Segment

.CODE .CONST .DATA
.DATA? .DOSSEG .EXIT
.FARDATA .FARDATA? .MODEL
.STACK .STARTUP

String

CATSTR INSTR
SIZESTR SUBSTR

Structure and Record

ENDS RECORD STRUCT
TYPEDEF UNION

See Also

Microsoft Macro Assembler Reference