Align, Comment, Align .comment cpu – Zilog ZUSBOPTS User Manual

Page 255

Advertising
background image

UM017105-0511

Directives

Zilog Developer Studio II – ZNEO™

User Manual

227

ALIGN

Forces the object following to be aligned on a byte boundary that is a multiple of <value>.

Synonym

.align

Syntax

<align_directive> = >

ALIGN

<value>

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 import $

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 ZNEO family is targeted. From this direc-
tive, the assembler can determine which instructions are legal as well as the locations of
the interrupt vectors within the ROM space, __VECTOR segment.

Advertising
This manual is related to the following products: