All and more about Sharp PC
-1
500 at http:/lwww.PC-1500.info
• P
re
paration of ch
arac
t
er
string
Address
Character
Character
Conten
ts
str
ing-1
string-2
D
OH
7A04H 7A t 4H
Leading
address of
(h
i
gh
ord
er
) 7
AOSH
7A
15H
th
e c
ha
r
ac
ter
str
i
ng
(l
ow
orde
r)
7A
06
H 7A16H
--
Size
of
th
e
ch
ar
act
er
st
ri
ng
7A07H 7
A1
7H
For the address where the character string is stored, the st
ri
ng
buff
e
r
(7B
I
OH
~
7B
5FH
)
can be u
se
d.
• 1
011
is stored in the string buffer poi
nt
er (7894H).
© ENTRY
ADDRESS
DOF9H
0)
EX
IT
STATE
• When the condition for
th
e operand is
es
ta
bl
ished (Z=
O)
7AOOll
'---
00
- H
_.___
oo
_ H
_f
t
OH
OO
H l
OO
H
OOH
• When the condition for the operand
is
not establish
ed
(Z= I)
7A
OOH
OO
H
OOH
I
OO
H
~--~--
5-4-4. Se
arch
• Variable address search
(i)
ENTRY
PR
EPARATI
ON
• Designati
on
of v
ar
iable name
OOH
The variable name is stored in
th
e Urcg.
OO
H
OO
H
7
A0
7H
OO
H
OOH
7
A0
7H
OO
H
OOH
• Whether
array
is one d
im
ension or t
wo
dimensi
on
is stored in parameter FI F
(788CH).
one di
me
nsi
on
: 0 I H
two dimensio
n:
02
1-1
•
Sub
scri
pt
is stored in t
he
ar
i
th
me
ti
c register X
(7AOOH
~
7i\07
H
).
When one dimensi
on
arra
y:
the first subscript
When two dimension
arra
y: the second subscript
• Subscri
pt
is stored in the
ar
i
th
metic register Y
(7AIO
H
~
7Al7
H
)
.
When one d
im
ension array: No need
When two dimension
arra
y:
the
firs
t subscript
Do
not
sell this PDF !!!
129