.db8/.ddw


Initialization of 8-byte area.

[Syntax]

Symbol field

Mnemonic field

Operand field

Comment field

[label:]
.db8
absolute-expression[, ... ]
[; comment]
[label:]
.ddw
absolute-expression[, ... ]
[; comment]

[Function]

-

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]

-

Use the .db8 and .ddw directive when defining a 8-byte numeric constant such as an address or data used in the program.

[Description]

-

The assembler initializes 8-byte area with:

(a)

Expression

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.

-

Two or more initial values may be specified within a statement line of the .db8 and .ddw directive.