Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 770 Bytes

File metadata and controls

28 lines (21 loc) · 770 Bytes
description Learn more about: .CODE
title .CODE
ms.date 12/17/2019
f1_keywords
.CODE
helpviewer_keywords
.CODE directive
ms.assetid 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