38
All and more about Sharp PC
-1
500 at http:/lwww.PC-1500.info
@
TTA
(T
To
Ace)
The
co
nt
e
nt
s
of
th
e T register are t
ra
nsferred to the
accumu
l
ator.
Th
e flag Z changes.
•F
ormat
lTA
•Operati
on
T-A
F
la
g Z
I:
when T =
OOH
0
wh
en T #
OOH
2-4-5. Block transfer and search instructions
® TIN (Transfer and INcremenl)
The
conte
nt
s
of
the
ex
terna
l me
mor
y (Xreg)
ar
e transferred
to
the e
xt
ernal
me
mo ry
(Yr
cg).
th
en
both
Xr
eg
and
Yr
eg
an·e
add
ed by o ne.
No
ch
ange
ta
k
es
place in flags.
•Format
TIN
(E
X)
TI
N
Xr
eg
=
4700H
Yreg
=
4800H
•Operation
(X
reg) -
(Y
reg)
Xr
eg
+ I - Xr
eg
Yr
eg + I - Yreg
Xr
eg
= 4
70
lH
Exec
u
te
-
Yreg
= 4801H
Contents= I 0 0 1 1 0 0 1 1 I
of
4700H
. .
Con
tents = I
0 0 1 1
0 0
1 1
l
of
4800H
'._j
@ CIN (Compare and INcrement)
The
co
nt
ent
s
of
t
he
accum
ula
tor
a re
comp
ar
ed with
that
of
t
he
exte
rnal
me
mo ry
(Xre
g). its result is represented by
fl
ag
st
at
es.
the
n
Xrc
g is incremented by one.
•Format
CIN
•Op
eration
A -
(Xr
eg
) - change in C. H.
Z.
a
nd
V
Xreg
+ I - Xr
eg
!Re
lati
on
between the
co
mpa
r
is
on
result
(A
with
X rcg) a
nd
Ila gs (C.
H.
Z.
V)
is
the
same
as in @
CPA
Do
not sell this PDF !! !