Syntax
.LISTINCLUDE
.NOLISTINCLUDE
·
Description
The directive .LISTINCLUDE inserts the contents of all included files into the program listing.
The directive .NOLISTINCLUDE suppresses the addition of included files. The default is
.NOLISTINCLUDE.
Syntax
MESSAGE ¢text-string¢
·
Description
The directive MESSAGE directs the Cross Assembler to display the text-string on the
screen. The characters in the text-string must be enclosed by a pair of single quotation
marks.
Syntax
ERRMESSAGE ¢error-string¢
·
Description
The directive ERRMESSAGE directs the Cross Assembler to issue an error. The characters in the
error-string must be enclosed by a pair of single quotation marks.
Program Directives
Syntax (comment)
; text
· Description
A comment consists of characters preceded by a semicolon (;) and terminated by an embedded
carriage-return/line-feed.
Syntax
name .SECTION [align][combine] ¢class¢
· Description
The .SECTION directive marks the beginning of a program section. A program section is a col-
lection of instructions and/or data whose addresses are relative to the section beginning with the
name which defines that section. The name of a section can be unique or be the same as the
name given to other sections in the program. Sections with the same complete names are
treated as the same section.
The optional align type defines the alignment of the given section. It can be one of the follow
-
ing:
BYTE uses any byte address (the default align type)
WORD uses any word address
PARA uses a paragraph address
PAGE uses a page address
For the CODE section, the byte address is in a single instruction unit. BYTE aligns the section at
any instruction address, WORD aligns the section at any even instruction address, PARA aligns
the section at any instruction address which is a multiple of 16, and PAGE aligns the section at
any instruction address with a multiple of 256.
Chapter 4 Assembly Language and Cross Assembler
69