DS.W n


These directives generate n words of zeros in the current section and adjust the location counter accordingly. If the directive is labeled, the label is assigned the location counter of the current section before the space is allocated. If n is one, the label's data type is set to WORD; otherwise, it is set to be a fixed array of WORD[n] elements.

The number of bytes per word is determined by the target processor. For 32-bit processors, one word is four bytes; for 8-bit and 16-bit processors, one word is two bytes.


The location counter is not aligned before allocating space.