EasyManua.ls Logo

Holtek HT48R05A-1 - Chapter 4 Assembly Language and Cross Assembler; Notational Conventions

Default Icon
125 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4
Assembly Language and
Cross Assembler
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
file.
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.
Notational Conventions
The following list describes the notations used by this document.
Example of convention Description of convention
[optional items]
Syntax elements that are enclosed by a pair of brackets are
optional. For example, the syntax of the command line is as
follows:
HASM [options] filename [;]
In the above command line, options and semicolon; are both
optional, but filename is required, except for the following
case:
Brackets in the instruction operands. In this case, the brack
-
ets refer to memory address.
{choice1 | choice2}
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.
Chapter 4 Assembly Language and Cross Assembler
65
4

Table of Contents