Download Print this page

Sharp PC-1500 Technical Reference Manual page 37

Hide thumbs Also See for PC-1500:

Advertisement

32
All
and
more
about Sharp
PC-1500
at
http://www.PC-1500.info
@
CPi
(ComPare
Immediate)
·rhc contents of the
acctHllulacor or
register
are
compared \Vich
the
in1rnedialedata.
and
its rcsull is represented
by
nags
C.
V.
H.
and
Z.
·
~·ormat
CPI
RL..i
CPI
RH
.i
CPI
A.i
Comparison
[Operand]
>
;
(Operand)
=
i
[Operand)
<
i
c
1
1
0
z
0
1
0
*
:
Refer
to
"CPA
instruction".
@
BIT (test
BIT)
•Operation
[Operand)
-
i
- change
in
C.
V.
H.
Z
v
I
H
I
*
*
*
*
*
*
i ·hc
ac.
x .:un1ula1or
is
/\ N
Dcd
\Vi
th
the
external
1nen1ory. and
its
result
is
reprt.:sl:ntcd
by
the
flag Z.
•Forn1al
BIT
(Rrcg)
BIT ll(Rrcg)
BIT
(ub)
BIT
ll(ub)
(EX)
BIT
(Xreg)
Xreg=
4F00H
•Oper.ition
A /\
[OJJ<:rand)
-
Z
!lag change
A=
[
l
0
0
0
0
0
0
OJ
E.ecule
Z=
l
Contents
=
I
0
0
0
0
1
t
ot 4FOOH
.
@
Bii (test Bit
Immediate)
T
he contents of
the
accumulator
or the externa
l
memory arc /INDcd
wit
h
the
immediate data.
and
its
result
is
represented
by state
of
the
flag
Z
.
•J."ormat
Bil
/l.i
Bil (Rrcg).i
Bll
li(Rrcg).i
Bil
((tb).i
Bil
/i((tb).i
•Operation
[Operand)
/\
i
-
Z
flag change
Do
not
sale
this PDF!!!

Advertisement

loading