Symbol field |
Mnemonic field |
Operand field |
Comment field |
[label:] |
.DB |
{expression|"Character string constants"}[, ... ] |
[; comment] |
The value of an expression must be 1-byte data. Therefore, the value of the operand must be in the range of 0x0 to 0xFF. If the value exceeds 1 byte, the assembler will use only lower 1 byte of the value as valid data.
An expression that includes a relocatable symbol or external reference name may be described.
If an operand is surrounded by corresponding double quotes ("), then it is assumed to be a string constant.
If a character string constant is specified as the operand, a required number of bytes are allocated.
If the relocation attribute of the section containing the .DB directive is "BSS", then an error is output because initial values cannot be specified. |