Edit

Share via


.CODE

(32-bit MASM only.) When used with .MODEL, indicates the start of a code segment.

Syntax

.CODEname
segmentItem ⟧...
codesegmentnameId ENDS;;⟧\

Parameters

name
Optional parameter that specifies the name of the code segment. The default name is _TEXT for tiny, small, compact, and flat models. The default name is modulename_TEXT for other models.

See also

Directives Reference
.DATA
MASM BNF Grammar