EasyManua.ls Logo

Sharp PC-1500 - Page 31

Sharp PC-1500
182 pages
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...
26
All and more about Sharp PC
-1
500 at http:/lwww.PC-1500.info
CD
AD
I (ADd I
mmediate)
To
either the accumulator
or
the
exte
rnal
memory
is added the
im
me
d
ia
te data.
In
the
case
of
ADI
to the accumulator.
carr
y
is
includ
ed
in
the operation.
C. H. Z. and V may change.
•F
o
rmal
ADI
A.i
ADI
(Rreg)J
AD
I
11(
R reg).i
AD
I (ab).i
AD
I
ll
(ab).i
(E
X) ADI
(Xreg).
20H
•Op
eration
A + i +
C-A
[operand] + i - [operan
d)
20H is added to the
memory
represented by X register.
Xreg
=4
FOOH
___
Exe
cute
Conte
11
1s = I 0 0 1 1 0 0 1 1 I- Contents= J 0 I 0 1 0 0 l
of 4
FO
OH
of
4
FOOH
.
C= O H= O Z= O • V= O
(i)
DCA
(DeC
im
al
Add)
Decimal addition is ca
rr
i
ed
out
be~wccn
the external memory and lhe accumul
ator
includi
ng
carry. and its
res
ult is stor
ed
in
the accumulato
r.
C.
H.
Z. and V
may
change.
•Fo
r
mat
DCA
(
Rr
eg)
DCA
ll(
Rr
eg)
(EX)
DCA
( Y reg)
Operation
I) A + 66H - A
2) A + [opera
nd
] + C - A
(
C.
H. Z. a
nd
V
ma
y change.)
J)
A+
DA
-
/\
Wh
ere
.
DA
is u
sed
for
compensat
ion
or decimal
nu
mber w
hi
ch is dependent on the
va
lue
of
flags C
and
H
in
regard to Item 2).
c
0
0
H
0
1
0
DA
9AH
AOH
F
AH
OO
H
Decimal
additi
on
is carried
out
between the
memory
represented
by
the Y
register a
nd
the accumul
ato
r.
Y
reg
= 4700H
ts
A
Cont
en
of
47
0•
OH
35H
27H
35H 2
7H
35H
67H
35H
67H
After
e•e
culion of D
CA
c
Decimal
add
iti
on
c
H
A
0 0 1 6
2H
35
+ 27+0= 62
I 0 1
63
H
35
+ 27+1 -
63
0 l l
02
H
35
i
6710
= 1
02
1 I I
03
H
35
t
67
I 1= 1
03
Do
not sell this PDF !! !
I

Other manuals for Sharp PC-1500

Related product manuals