Initialization of 8-byte area.
[label:] |
.db8 |
absolute-expression[, ... ] |
[; comment] |
[label:] |
.ddw |
absolute-expression[, ... ] |
[; comment] |
The .db8 and .ddw directive tells the assembler to initialize a memory area in 8-byte units with the initial value(s) specified in the operand field. |
Use the .db8 and .ddw directive when defining a 8-byte numeric constant such as an address or data used in the program. |
The value of an expression must be 8-byte data. Therefore, the value of the operand must be in the range of 0x0 to 0xFFFFFFFFFFFFFFFF. If the value exceeds 8-byte, the assembler will use only lower 8-byte of the value as valid data.
No character string constants can be described as an initial value.
If the relocation attribute of the section is "BSS", then an error is output because the .db8 and .ddw directive cannot be described. |