Everything

.DB4


Initialization of 4-byte area.

[Syntax]

Symbol field
Mnemonic field
Operand field
Comment field
[label:]
.DB4
expression[, ... ]
[; comment]

[Function]

-

The .DB4 directive tells the assembler to initialize 4-byte area.

[Description]

-

The .DB4 directive tells the assembler to initialize 4-byte area.

The value of an expression must be 4-byte data. Therefore, the value of the operand must be in the range of 0x0 to 0xFFFFFFFF. If the value exceeds 4-byte data, the assembler will use only lower 4-byte value as valid data.

An expression that includes a relocatable symbol or external reference name may be described.

-

Character string constants cannot be specified in the operand field.

-

If the relocation attribute of the section containing the .DB4 directive is "BSS", then an error is output because initial values cannot be specified.

[Example]

        .DSEG   DATA
LABEL:  .DB4    0x12345678  ; 4-byte area is initialized by 0x78, 0x56, 0x34, 0x12