Zilog EZ80F916 User Manual
Page 222

UM014423-0607
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
202
Example
DB "Hello World" ; Reserve and initialize 11 bytes.
DB 1,2 ; Reserve 2 bytes. Initialize the
; first word with a 1 and the second with a 2.
DB %12 ; Reserve 1 byte. Initialize it with ; %12.
NOTE: There is no trailing null for the DB declaration type.
DD Declaration Type
Synonym
.double
Syntax
DD
double signed fractional (32 bits)
Examples
DD 0.1,0.2 ; Reserve space for 2 double word signed fractional
; numbers. Initialize the first with a 0.1 and
; the last with a 0.2.
DD 0.5 ; Reserve space for 1 double word signed fractional
; number and initialize it to 0.5.
DF Declaration Type
Synonym
.float
Syntax
DF
word signed floating-point constant (32 bits)
Examples
DF 0.1,0.2 ; Reserve space for 2 word signed
; floating-point numbers. Initialize
; first with a 0.1 and last with a 0.2.
DF .5 ; Reserve space for 1 word signed
; floating-point number and initialize it to 0.5.
DL Declaration Type
Synonyms
.long, long
Syntax
DL
long (32 bits)