DW Define word Directive
[name] DW [type PTR] expression [,expression] ...
Allocates a word (2 bytes) of storage. name is the symbol you'll
subsequently use to refer to the data.
type followed by PTR adds debug information to the symbol being
defined, so that Turbo Debugger can display its contents properly.
type is one of the following: BYTE, WORD, DATAPTR, CODEPTR, DWORD,
FWORD, PWORD, QWORD, TBYTE, SHORT, NEAR, FAR, or a structure name.
expression can be
- a ? (question mark)
- a duplicated expression (DUP)
- a constant expression in the range -32,768 to 65,535
- a relative expression that requires 16 bits or fewer (including
an offset in a 16-bit segment, or a segment or group value)
- a one or two-byte string in standard quoted string format