i,
i.
Because
the disassembler starts disassembling from
the first address
you
specify, you
have to take care that the frst address contains
the fir6t ble ofa
"real"
instruction,
A Assemble
One Instruction Into Memory
The
DEBUGGER has a mini-dssembler,
that can ass€mble one ass€mbly language
ifftruction
at a time. To enter th€ Assemble mode.
tvDe:
A @
Once in
the
Ass€mble
mode,
you
stay there until
you
wish
to
retlfn
to
DIBUGGI& which you
may do by
pressing
@[
(on
an empty tine].
To assembl€
a]rl
instruciion,
first enter the address at which
you
wish to have
the Irrachin€ code inseried. The
number that vou enter will be interDreted as a
hex address. Now t}?e
-<
'folJowed
by at
leair
one space. rhen the insrruction.
You may
omit an addr€ss ifassembly is to be in successive locations.
Example:
EDIT
suc
l@
DEBUG
A
831@
5001<LDY
$1234
@
5001 AC3472
<nwl@
.
5004 cB
| ] @
Computer Responds.
Computer
Responds.
DEBUG
t l
Since the
miDi-ass€mbler assembles only one instruction
at a time, it cannot
refer to anorher instrucrion.
Therefore, ir cannot interpret
a label. Conse-
quenrly.
labels are nor
legal in lhe mini-assembler.
You can use the
directives BYTE, DBYTE, and WORD.
Gmmmm Go
(Ex€cule
ProgFan,
This cominand
€x€cutes instructions starting
at mmmm. For exampte;
GTBOO
@
Executes instructions starting at location 7800.
Execution
continues indefnitely. Execution is
stopped
by
pfessing
the
@
key
(unless
the
pre
gran
at
7800
tricks or crashe8 the operating system).
Tmmmn Tlace
Operatlon
This command
has th€ same e{Ieci
as cirunmm. exceDt that aft€r execution
of
each insrru(Iion
the sffeen shows the instrucrion
adidress, rhe inslrucrion in
machine code, the irNtruction
in assembly language
(disassembled
by the
debugg€r-not necessarily
the sane as
you
rffote it in ass€mbly
language) and
the
values
ofRegisrers A, X. Y.
P and S.
The
execution stops at a BRK
instruction
(machine
code 00) or when you press
the
@
key on the keyboard.
Commentaires sur ces manuels