Syntax

DC.W initializer [, initializer]…
DW initializer [, initializer]…

Description

The DC.W directive defines an object as an initialized array of words i.e. 2 bytes. If the directive is labeled, the label is assigned the location counter of the current section before the data is placed in that section. If a single initializer is present, the label's data type is set to WORD; otherwise, it is set to be a fixed array of WORD, the bounds of which are set by the number of elements defined.

Note

The location counter is not aligned before allocating space.