All and more about Sharp PC
-1
500 at http:/lwww.PC-1500.info
2-4. LH5801
instructions
2-4-1. Outline
·
24
This section deals wi
th
funct
io
n
of
each instruction.
ADC
L Instruction name
( Functional description)
• Format
ADC
RL
L Operand
•Operation
A + [operand]
L Symbol
(EX) ( Example )
+ C - A
L
symbo
iL-
Symbol
Symbols used
in
discussing operand, function, and operat
io
n
. A: Co
nt
ellls
of
t
he
accumulator
(8
bits)
XL: Co
nt
e
nt
s
of
t
he
low order 8 b
it
s
of
X
reg
Y
I.:
Contents
of
t
he
low
or<ler
8 bits
of
Yrcg
U
I.
: Co
nt
t:nts
of
t
he.:
low
or
<l
er 8 bits
of
Urcg
(RL represents
ei
th
er
of
XI.. YI..
or
Ul..)
XH: Conte
nt
s of the
hi
gh order 8 bits
of
Xreg
YH
: Contents of the
hi
gh order 8 bits
of
Yrcg
lJ H: Comcnts
of
the h
igh
order 8 bits
of
Ureg
(RH represents
ei
ther
of
XH
. YH.
or
UH.)
Xreg: Conte
nt
s
of
the X
rcg
i
;tc
r ( 16 bits)
Yr
eg: Contents
of
th
~
Y register ( 16 h
it
s)
U
reg:
Conte
nt
s of
th
e U register ( 16 bits)
(Rr
c:g
represe
nt
s either
of
Xreg. Yreg. or Ureg
.)
P: Co
nt
ents of
th
e program cou
nt
er ( 16 b
it
s)
P
L:
Co
nt
ents of low order 8 b
it
s
of
the program count
er
PH
: Co
nt
ems of high order 8 bits
of
th
e program counter
S: Contents
of
th
e stack
po
i
nt
er
( 16
bi
ts
)
SI
.:
Conte
nt
s
of
low
or
der K b
it
s
of
the stack po
int
er
SI!: Co
nt
en
ts
of
hi
gh order 8 bits
of
the
st
ack pointer
( Rrcg):
Co
nt
en
ts
of
the memory represe
nt
ed by R reg (accessed with
MEO)
#(Rrcg): Co
nt
en
ts
of
t
he
memory represe
nt
ed by Rreg (accessed with ME I)
(ah
):
Contents
of
t
he
memory
re
presented by 16 bits of
ab
(accessed by M
E<l)
: where a
represents
hi
gh order 8
bi
ts
of
the addr
ess
and b low order 8 bits
Do
not sell this PDF !! !