Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 741 Bytes

File metadata and controls

29 lines (21 loc) · 741 Bytes
title .CODE
description Learn more about: .CODE
ms.date 12/17/2019
f1_keywords
.CODE
helpviewer_keywords
.CODE directive

.CODE

Indicates the start of a code segment.

When using 32-bit MASM, this should be used along with .MODEL.

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