All
and
more
about Sharp PC-1500 at http://www.PC-1500.info
1.
Machine language
2
There are many program languages for each purpose.
PC
-1
500
. for exa
mp
l
e.
is
designed to carry out
bo
th BASIC and machine language. BASIC is easy to u
se
.
however. execution speed is
sl
ow
. On the
ot
her hand. machine language is
difficult to understand
but
execution
speed
is fast.
Usually. machine language program would
be
written with the assemble
lan
guag
e. wh
ich
consists of mnemonic codes. and then the assemble language
will
be
translated into machine langua
ge
.
[EXAMPLE] DISPLAY REVERSE PROGRAM
I.
f>
rc
p
an:
thi:
progranl
,,·
ith
asscn
1h
le
J
;,ngtu1~.:
co
n
sis
ting
of
nl
ncinon
ic
codc::i.
.
LOI UH.78H l i . f
fi
· b
ffi
dd
LOI U
l.
.
4
DH
I prepare or:1"1gnmcn1 o
the
1n.1
d"pl
a) u
er
a ress.
D
EC
UH advance
the
adclr<-,,,
LDA U take data in the a
cc
umula
tor
EA i
FFH
ta
ke l
hc
C<H
n (llc
111
cnt
STA
u return datu i
111
0
n1c
111
ory
LOP
06H
CPI Ull.
77
1-1
ma kc the loop
BCS
OEH
RT:'<
return
to
B1\ SIC
2.
T
ran~latc
th
e abo,·e
progr.l
rn
in
to
111achine
language.
1 he
a!'>.
qon1b
l
cr
1r:tn~latc~
the
as:i.cn1blc
l
anl:!uag:c
in
to 1he
n1a
chinc
l;t
n
guagc
au
l<lrnatic-dlly
acco
r
ding
tt>
t
hl'
li~
t.
1
-1
<>\\l'\cr. a
l)
ho
r1
p
rogr
a
rn
can he 1
ransla1cd
n1a
nually.
(h
and
;1~~c
111
b
l
c)
·
rh
e
ab
o,·c
pro£ra
n1
c"n
be
tr
an~k
1L
c
d
a:-.
follo,,
11
;:
6X
78
6/\
41) FO 62 25
l.ll)
FF
2E 88 0(1
6('
77
93
OE
9A
Do not sale this PDF
!!!