Download Print this page

Sharp PC-1500 Technical Reference Manual page 32

Hide thumbs Also See for PC-1500:

Advertisement

All
and more about Sharp
PC-1500
at http://www.PC-1500.info
©
ADR
(ADd
Rreg)
Contents
of the
accumulato
r
arc added to
the
R
register.
C.
H. Z.
and
V
may
change.
• 1 ;·orn1ar
ADR
Rreg
•Operation
I)
RI.
+
A
- RL
(C.
H.
Z. a
nd
V
may
change.)
2)
RH
+
C
-
·
RH
(EX)
ADR Xreg
Contents
of
the accumulator are
a<1ded
to X
register.
A
=
I
1
0
0
0
0
l
iJ
XL
=
jo
0
0
I
0
I
t
I
XL
=
I
1
0
0
0
I
0
~
Execute
0
0
-
Xft=
0
0
0
0
t
0
I
l
I
XH=
10
0
0
0
I
0
ol
Ca
l
1
H=
O
,
Z=O
.
V=
t
©
SBC (SuBtract with Carry)
The contents
of' the
accurnulator are subtrJ.cted
by
the
internal
register
or
e.
x
ternul
rncnlory
including
C.
and
its
result
is
stored
in
the
accumulato
r.
T
his
operat ion
mai•
also
be expressed
in
the
following
manner.
Con1plcrnent
of
the
internal J'
c
gistcr
or
external
n1cn1
ory
is obt;:tincd fir..st.
additi<>n
is
carried
o
ut
including
carry,
then
its
result is stored
in
the
acc1in1ulator.
C. H, Z. and
V
ma)'
change.
Forn1at
SBC
RI.
SBC
RH
SBC
(
Rrcg)
SBC
#(Rreg)
SBC
(ab)
SBC il(ab)
(EX)
SBC
XL
•Operation
A
-
(operand]
-
C
-
A
(C.
H.
Z.
and
V
may change.)
or.
A
+
(01i<:rand
)
+
C
-
A
(C.
H.
Z. a
nd
V
ma
y
change.)
Contents
of
XL
register
are
subtracted
from the ace
umulator.
A=
loo
0
0
ol
XL
=
I
0
0
l
0
0
0
0
l
I
c=O
.!}
A=
Io
0
0
0
O
I
Execute
A=
I
0
0
0
l
0
l
l
l
l
XL=
I
1
0
l
I
I
o
I
C=
I •
H=
I
Z
=
O ,
V=
0
C=
I
27
Do not sale
this PDF!!!

Advertisement

loading