beautypg.com

Data directives, Blkb declaration type, Blkl declaration type – Zilog ZUSBOPTS User Manual

Page 256

background image

Directives

UM017105-0511

228

Zilog Developer Studio II – ZNEO™
User Manual

The

CPU

directive is used to determine the physical location of the interrupt vectors.

Syntax

<cpu_definition> = >

CPU

= <cpu_name>

Example

CPU = Z16F2811

Data Directives

Data directives allow you to reserve space for specified types of data.

Syntax

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

<type> →

DB

=>

DL

=>

DW

=>

DW24

=>

BLKB

=>

BLKL

=>

BLKW

<value_list> => <value>

=> <value_list>,<value>

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

BLKB Declaration Type

Syntax

BLKB

count [, <init_value>]

Examples

BLKB 16 ; Allocate 16 uninitialized bytes.

BLKB 16, -1 ; Allocate 16 bytes and initialize them to -1.

BLKL Declaration Type

Syntax

BLKL

count [, <init_value>]

Note:

This manual is related to the following products: