beautypg.com

Subtitle, Title, Subtitle title var – Zilog Z8F0130 User Manual

Page 332

background image

Using the Macro Assembler

UM013037-1212

308

Zilog Developer Studio II – Z8 Encore!
User Manual

Syntax

<segment_directive> =>

SEGMENT

<ident>

Example

SEGMENT code ; predefined segment

DEFINE data ; user-defined

SUBTITLE

Causes a user-defined subtitle to be displayed below the TITLE on each page of the listing
file. The new subtitle remains in effect until the next SUBTITLE directive. The operand
must be a string constant.

Syntax

<subtitle_directive> =>

SUBTITLE

<string_const>

Example

SUBTITLE "My Project Subtitle"

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 similarly to an

EQU

directive except you are allowed to change

the value of the label. In the following example,

STRVAR

is assigned three different values.

This causes an error if

EQU

was used instead of

VAR

.

Synonym

.VAR, SET, .SET