beautypg.com

Title, Title var – Zilog EZ80F916 User Manual

Page 229

background image

UM014423-0607

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

209

TITLE

Causes a user-defined

TITLE

to be displayed in the listing file. The new title remains in

effect until the next

TITLE

directive. The operand must be a string constant.

Synonym

.title

Syntax

<title_directive> =>

TITLE

<string_const>

Example

TITLE "My Title"

VAR

The

VAR

directive works just like an

EQU

directive except you are allowed to change the

value of the label. In the example,

STRVAR

is assigned three different values. This would

cause an error if

EQU

was used instead of

VAR

.

Synonym

.VAR, SET, .SET

Syntax

<label> VAR <expression>

Example

A 6 SEGMENT NEAR_DATA

A 7 ALIGN 2

000000FF A 8 STRVAR

VAR FFH

000000 FF A 9 DB

STRVAR

A 10 SEGMENT TEXT

000000 A 11 L__0:

000000 4641494C 4544 A 12 DB

"FAILED"

000006 00 A 13 DB

0

A 14 SEGMENT NEAR_DATA

A 15 ALIGN 2

00000000 A 16 STRVAR VAR L__0

A 17

000002 A 18 _fail_str:

000002 00 A 19 DB

STRVAR

A 20 SEGMENT TEXT

000007 A 21 L__1:

000007 50415353 4544 A 22 DB

"PASSED"

00000D 00 A 23 DB

0

00000007 A 24 STRVAR VAR L__1

A 25 SEGMENT NEAR_DATA

This manual is related to the following products: