EasyManua.ls Logo

Sharp PC-1500 - Page 133

Sharp PC-1500
182 pages
Print Icon
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...
128
All and more about Sharp PC-
1500
at
http:
/l
www.PC-1500.info
5-4-3. Comparison
Comparison
of
numeric
(Numeric I) O (numeric
2)
O Indicat
es
th
e operand.
(i)
ENTRY PREPARATION
Setup
of
op
erand
Operand
Accumulator
data
<>
OOH
<
Ol
H
>
02H
-
!----
=
04H
< =
05H
t-
> -
-1
OOH
'-
-
-
The numeric
is
stored
in
the arithme
ti
c register in a format of decimal
fi
gu
re.
N
umeric
1
Ar
i
thmet
ic r
eg
ister X (7
AOOH
~
7
A07H
)
Nu
me
ric 2
Ar
it
h
me
tic re
gi
ster X
(
7A
1
0H
~
7107
H
)
Q) ENTRY ADDRESS
DOD
2H
(i)
EXIT STATE
Wh
en the operand
is
estab
li
shed
The
fla
g Z
is
reset
to
"
()''
and
the arithmetic r
eg
ist
er
turns 10 " I".
7AOOH
OOH
OO
H
JOH
OOH
OO
H
OO
H
OOH
When
th
e operand
is
not established
The
fl
ag Z is set to "I" and the arithm
et
ic register turns to "
O"
.
7i\07H
(J
OH
7A
00H
7A07H
OOH
OOH
OO
H
oo.:;-
1
OO
H
OOH
OO
H
OOH
Comparison
of
character string
(Character string-I) O (character string-
2)
()
Indicates the operand.
(i)
ENTRY PREPARATION
Designat
io
n
of
th
e operand
I
Operand
Accumulator
data
I
<>
OO
H
<.
Ol
H
>
02H
L r
04
H
Do
not sell this PDF !! !