Initialization of 2-byte area.
Symbol field |
Mnemonic field |
Operand field |
Comment field |
[label:] |
.DB2 |
expression[, ... ] |
[; comment] |
The value of an expression must be 2 bytes of data. Therefore, the value of the operand must be in the range of 0x0000 to 0xFFFF. The assembler checks the lower-order 24 bits of the result of an operation and outputs an error message if the value is not within the range from 0x0000 to 0xFFFF.
An expression may include a relocatable symbol or reference to an external name.
If the relocation attribute of the section containing the .DB2 directive is "BSS", then an error is output because initial values cannot be specified. |