DC

Define constant.

[ label] DCarg[,arg,...,arg]

Remarks

The DC directive allocates and initializes a word of memory for each arg argument. The arg may be a numeric constant, a single- or multiple-character string constant, a symbol, or an expression. The DC directive may have one or more arguments separated by commas. Multiple arguments are stored in successive address locations. If multiple arguments are present, one or more of them can be null (two adjacent commas), in which case the corresponding address location is filled with zeros.

If label is present, it assigns the value of the runtime location counter at the start of the directive processing.

Integer arguments are stored as is; floating-point numbers are converted to binary values. Single- and multiple-character strings are handled in the following manner:

Example

TABLE DC 1426,253,$2662,'ABCD'

CHARS DC 'A','B','C','D'

See also

BSC

DCB

DWARF Symbolics