Chapter 4 Assembly Language and Cross Assembler
Assembly Language and
Description of Convention
Assembly-Language programs are written as source files. They can be assembled into object files
by the Holtek Cross Assembler. Object files are combined by the Cross Linker to generate a task
A source program is made up of statements and look-up tables, giving directions to the Cross As-
sembler at assembly time or to the processor at run time. Statements are constituted by mnemon-
ics (operations), operands and comments.
The following list describes the notations used by this document.
Example of Convention
Syntax elements that are enclosed by a pair of brackets are
optional. For example, the syntax of the command line is as
In the above command line,
and semicolon; are both
is required, except for the following
Brackets in the instruction operands. In this case,
the brackets refer to memory address.
Braces and vertical bars stand for a choice between two or
more items. Braces enclose the choices whereas vertical
bars separate the choices. Only one item can be chosen.