DC.W
initialiser [,
initialiser]...
DW
initialiser [,
initialiser]...
FCW
initialiser [,
initialiser]...
WORD
initialiser [,
initialiser]...
The DC.W directive defines an object as an initialised array of words. If the directive is labeled, the label is assigned the location counter of the current section before the data are 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.
The number of bytes per word is defined by the target processor. For 32-bit processors, one word is usually four bytes, and for 8-bit and 16-bit processors, one word is usually two bytes.
The location counter is not aligned before allocating space.
Power10 DC.W 1, 10, 100, 1000, 10000
This defines the label Power10 and allocates five initialised words with the given values. The type of Power10 is set to WORD[5], an array of five words, as five values are listed.