5.2.5 Data definition/Area reservation directives

The data definition directive defines the constant data used by the program.

The defined data value is generated as object code.

The area reservation directive secures the area for memory used by the program.

The following data definition and partitioning directives are available.

Table 5.11

Data Definition/Area Reservation Directives

Directive

Overview

.db

Initialization of byte area

.db2/.dhw

Initialization of 2-byte area

.dshw

Initializes a 2-byte area with the specified value, right-shifted one bit

.db4/.dw

Initialization of 4-byte area

.db8/.ddw

Initialization of 8-byte area

.float

Initialization of 4-byte area

.double

Initialization of 8-byte area

.ds

Secures the memory area of the number of bytes specified by operand

.align

Aligns the value of the location counter