EasyManua.ls Logo

Sharp PC-1500 - Page 36

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...
All and more about Sharp PC-1500
at
http:/lwww.PC-1500.info
(E
X)
I
NC
XL
XL
= I 0 0
I I
Exec
ut
e r I
I 1 0 I 1
~
____. XL=
~~
~
_!._
1 0 0 0
C= O , H= O , Z= O . V= O
@
DEC
(DECrement)
The
value of t
he
accumulator
or
re
gister is DECremented
by
one.
In
t
he
ca
se
of
the 8-
bit
register
(A
,
RL.
RH).
it makes flags C. V.
Hand
Zcha
n
ged
.
[n
th
e
case
of
the 16-bit
r
eg
ister R r
eg.
no
flag change takes pl
ac
e.
•F
orma
t
D
FC
/\
D
EC
RL
D
EC
RH
D
EC
Rr
eg
(EX)
XL
= I 0
XH
= I 0
DEC Xreg
0 0 0 0 0 0
0 0 0 0 0
•Operation
[Operand] - I - [operand]
(C. V.
H.
and Z chan
ged
.)
[
Op
erand) - I - [
op
erand)
0 I XL= 1 1
1 1
1 I
Execut
e
____.
1 I
XH
= I 0
0 0 0 0 0
ol
2-4-3. Compare and
bit
test
@
CPA
(ComPare
Ace)
The
co
nc
cnts
of
the accumul
ator
are compar
ed
w
it
h register or external
memory.
and
it
s result is
re
pre
se
nted
by
flags
C.
V.
H.
and Z.
•F
or
mat
CPA
RL
CPA
RH
C
PA
(Rrcg)
CPA
ll(
Rr
eg)
CPA
(ab)
CPA
ll(ab)
(E
X)
CPA XL
A=
lo
1
XL
= I 0
0
I
0
I
0
1
0 0
•Operation
A - [operand] - chan
ge
i11
C.
V. H. and Z
or
A + [
operand]+
I - chan
ge
in
C.
V.
H.
and Z
---c
.
om
panson
c
z v H
--,
0
0
A>
[op
erand]
·1
0
* *
A = [operand] 1
1
* *
A < [operand] 0 0
* *
* : Flags V and H
may
chan
ge
accord
i
ng
to t
he
co
n
dit
i
on
mentioned
in
"Status flag", but it has
no meaning wi
th
t
he
CPA
instr
uct
i
on
.
O l E
xec
ut
e
C= l , Z= O
o I
31
Do
not
sell this PDF !!!

Other manuals for Sharp PC-1500

Related product manuals