beautypg.com

Data directives – Zilog Z8F0130 User Manual

Page 321

background image

UM013037-1212

Data Directives

Zilog Developer Studio II – Z8 Encore!

User Manual

297

Data Directives

Data directives allow you to reserve space for specified types of data. The following data
directives are available:

BFRACT and UBFRACT Declaration Types

– see page 298

FRACT and UFRACT Declaration Types

– see page 298

BLKB Declaration Type

– see page 298

BLKL Declaration Type

– see page 299

BLKW Declaration Type

– see page 299

DB Declaration Type

– see page 299

DD Declaration Type

– see page 300

DF Declaration Type

– see page 300

DL Declaration Type

– see page 300

DW Declaration Type

– see page 301

DW24 Declaration Type

– see page 301

Syntax

<data directive> = > <type> <value_list>

<

type

> => BFRACT

=> BLKB

=> BLKL

=> BLKW

=> DB

=> DD

=> DF

=> DL

=> DW

=> DW24

=> FRACT

=> UBFRACT

=> UFRACT

<value_list> => <value>

=> <value_list>,<value>

<value> => <expression>|<string_const>

The

BLKB

,

BLKL

, and

BLKW

directives can be used to allocate a block of byte, long, or

word data, respectively.