DISASSEMBLER
l~Z·I·IEl,,1•1'lill,ti
This
is
a disassembler for the. 80C85, which
is
. the EP-200 CPU.
The
functions
of
a disassem-
bler
are indispensable
for
understanding programs
mact,_ine
language
or:for
checking the internal
operation
of
the
FP-200.
This program reads
the
contents
of
memory
- addresses specified by the
PEE.K
command and
displays the associated assembly language.
/
---~~--
---~.,,.,,
---,ill..--;;:;;:-s------
·
,
/!f
•
.;>;·
,.
,~,,
✓
:.>
o l.D,:
•c~
,
r.
_;,,.,,-
:,o
~
r,.; •
00,t:1;:l
~-,.;,~
~--_/.;'
~Oo~
oo_
.=;
.
..,
~
--di
k • o
, • -
-?
•
'
.
~,-.-~j
When·the program
is
started,
it
asks whether
or
not
a printer
is
used. If you use
.a
print-
er
is
used. ff
you
use a printer, press the Y key. If not, press the N key.'
Then input the starting address and the ending address
of
the area
to
be disassembled,
in hexadecimal. If the ending address
is
smaller than the starting address
or
if
a-non-
existent.address_js
input,
the
program prompts for re-input
of
data;
_.
. _ _
When a
·printecis
used,
the
program continuously
outputs
all
the
addres~s
from. die
·_
'
·-
_'
_
__;__
.. - .
-.~!ac~ing,~d~d-~~~-s,',to
Jhe;:;,~ndjng
,~ddr,es_~l,~-l~,~,mac_tlirieAanguage,;(h~~ct~~im~!!-9t~W>I1f,;;.:;,,;;;.
_·_
.
. ~,<l:f?'.~q;;~~~~~;···."-~::;ft~$~~;~~~ffs~da~~e~~;s~~~~~J~~-•~J~as~rn~1~~-~~onteh~~":1ifl~Jri~~~~~~~~~l,i~~;~~::r~~·
• •
-·
---
When no printer
is
~sed,
th~;;~i;;m
di~plays
th·e
con(e~ts
at
a r~t~
ofthiJ;
iie,,.;s·~~r:·_
screen.
To
display the
riexf
three items;-press any key
on
the
keyboard. Repeat
_t_his
·
operation
to
display
~all
the
contents
to
the ending address.
At
the end
of
disassembly,
the
program again prompts
for
input
ofthe
starting address
and
the
ending
add_ress
of
another
area
to
be disassembled.1.o terminate the program,
press the BREAK key.
In
this disassembler, when a printer
is
used, one line
of
blank space
is"
provided after
each
J MP
or
RET coh,mand. This
is
to
facilitate identifying the point where the pro-
gram flow
is
changed.
If the address does not contain any command, the result
of
disassembling
is
output
as
follows:
address•
memoric
operand
Output
format