Download Print this page

IMS IMSAI 8080 User Manual page 549

Advertisement

Statements
Statements may contain either symbolic 8080 machine in­
structions or pseudo-ops.
ment i s :
NAME
OPERATION
The name-field, if present, must begin in assembler char-
act er~pösxtTön one.
contain as many characters as the user wants; however,
only the first 5 characters are used in the symbol table
to uniquely define a symbol.
must begin with an alphabetic character and may contain
no special characters.
The operation field contains either a 8080 operation
mnemonic or a system pseudo-operation code.
The operand field contains parameters pertaining to the
operation in the operation field.
present, they must be separated by a comma.
0015 FLOP
00 20
* COMMENT
0025
0030
0035 BEG
0040
All fields are separated and distinguished from one
another by the presence of one or more spaces or
t a b s .
The comment field is for explanatory remarks.
produced on the listing without processing.
0015.
Comment lines must start with an asterisk (*) in
character position 1.
Symbolic Names
To assign a symbolic name to a statement, one merely places
the symbol in the name field. To leave off the name field,
the user skips two or more spaces after the line number
and begins the operation field.
a statement, the assembler assigns it the value of the
current Location Counter.
holds the address of the next byte to be assembled.
only exception to this is the EQU pseudo-op.
The structurecf such a state­
OPERAND
The symbol in the name field can
All symbols in this field
MOV M,B
COMMENT
JMP
BEG
CALL FLOP
ADI
8+6-4
MOV
A ,B
I
See example 0020.
The Location Counter always
Self-Contained System
Assembler
Revision 2
COMMENT
If two arguments are
Example:
It is re­
See example
If a name is attached to
In this case
The

Advertisement

loading