Zilog EZ80F916 User Manual
Page 220

UM014423-0607
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
200
=> <value_list>,<value>
<value> => <expression>|<string_const>
The
BLKB
,
BLKL
,
BLKP
, and
BLKW
directives can be used to allocate a block of byte, long,
pointer, or word data, respectively.
BFRACT and UBFRACT Declaration Types
Syntax
BFRACT
signed fractional (8 bits)
UBFRACT
unsigned fractional (8 bits)
Examples
BFRACT [3]0.1, [2]0.2 ; Reserve space for five 8 bit
; signed fractional numbers.
; Initialize first 3 with 0.1,
; last 2 with a 0.2.
UBFRACT [50]0.1,[50]0.2 ; Reserve space for 100 8 bit
; unsigned fractional numbers.
; Initialize first 50 with a
; 0.1, second 50 with a 0.2
BFRACT 0.5 ; Reserve space for one 8-bit signed, fractional number
; and initialize it to 0.5.
FRACT and UFRACT Declaration Types
Syntax
FRACT
signed fractional (8 bits)
UFRACT
unsigned fractional (8 bits)
Examples
FRACT [3]0.1, [2]0.2 ; Reserve space for five 16 bit
; signed fractional numbers.
; Initialize first 3 with 0.1,
; last 2 with a 0.2.
UFRACT [50]0.1,[50]0.2 ; Reserve space for 100 16 bit
; unsigned fractional numbers.
; Initialize first 50 with a
; 0.1, second 50 with a 0.2
FRACT 0.5 ; Reserve space for one 16-bit signed, fractional number
; and initialize it to 0.5.