beautypg.com

Comment, Comment cpu – Zilog Z8F0130 User Manual

Page 320

background image

Using the Macro Assembler

UM013037-1212

296

Zilog Developer Studio II – Z8 Encore!
User Manual

Example

ALIGN 2

DW EVEN_LABEL

.COMMENT

The

.COMMENT

assembler directive classifies a stream of characters as a comment.

The

.COMMENT

assembler directive causes the assembler to treat an arbitrary stream of

characters as a comment. The delimiter can be any printable ASCII character. The assem-
bler treats as comments all text between the initial and final delimiter, as well as all text on
the same line as the final delimiter.

You must not use a label on this directive.

Synonym

COMMENT

Syntax

.COMMENT

delimiter [ text ] delimiter

Example

.COMMENT $ An insightful comment

of great meaning $

This text is a comment, delimited by a dollar sign, and spanning multiple source lines. The
dollar sign (

$

) is a delimiter that marks the line as the end of the comment block.

CPU

Defines to the assembler which member of the Z8 Encore! family is targeted. From this
directive, the assembler can determine which instructions are legal as well as the locations
of the interrupt vectors within the CODE space.

The

CPU

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

Syntax

<cpu_definition> = >

CPU

= <cpu_name>

Example

CPU = Z8F6423

Note: