Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 770 Bytes

dot-code.md

File metadata and controls

28 lines (21 loc) · 770 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: .CODE
.CODE
12/17/2019
.CODE
.CODE directive
2b8c882c-c0d2-4fa3-8335-e6b12717a4f4

.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