Operator`s manual
HOW
TO
\
/RITE
This
section
showshow
to
write
operands. The
examples
use statemenr
number
OPERANDS
xxxx
(also
caled line
number
xxxx).
An
insiructi;
entered
without
a siate_
ment
number
is not
alowed
by the
Editor.
.
The
examples
use By
(for
b)1€)
and ABS
(for
absotuie)
as a one_byte
and
a two_
byte
number,
respectjvety.
Thi$
use implies
rhar
the
proeram
i;cludes
defini_
rions
ofBy and
ABS rs. ror
exdmptc:
0100 By=
155
0200 1\85=567
pl€ase
refer
to rhe
d€scripiion
ofthe r,ABL
=
direcrive
fbr
an exptanarion
ofthe
definitions
of lines
1oo
and 200.
Hexadecimal
Operands
A number
is interyrcied
as a decimat
number
unless
ii is preceded
by
g,
in
which
case it is interpreied
as a hexadecimal
number.
Examples:
30 sTA
99325
80 ASL
915
Imrnediare
Operands
,\n immediate
operad
js_
an operand
that
contains
the dara
ofrhe instruction.
The pound
sign
(/l
must
be
p;sent
io indicate
an immediar€
operand.
E"xamples:
40 LDA i72
70 oRA ,fg3c
1OOO
CPY
/BY
Pag€
Zero
Operands
when_an
operand
is
a number
less
than 2s5
decimdl,
(FF
h€x)
and is
not
immediate,
the
number
is inrerpreted
a$
a
page
zero
address.
Example8:
150 LDX
912
250 ROR
33
5OO DEC
!Y
Absolute
Operands
Absotuie
operands
are evaluated
as
16_bii numbers.
Examples:
20
LDX
91212
40
cPY 2345
990 DEC
579
2350
nIT
AB5
Absolure
tndexed
Operands
An absotut€
indexed
operand
uses
regist$
x or
y.
The
operand
is written
_,x
or
_,Y