Download Print this page

Motorola EXORdisk II User Manual page 207

Advertisement

PATCH COMMAND
21.2 -- PATCH Command Set
21.2. 14
Set/displa~
execution address -- G
The G command is used to display and/or change the value
of the file's starting execution address.
The format of
the
G
command
is
[mC,nJJG
If
the
parameters
"mil
and
"n"
are
not specifiedJ
the G
comma n
d
lU
i 11
dis
p
lay
the
c u
1'1'
en
t
va
1
u e
0
r
the· e
x
e
cut i on
address.
The
~ollowing
example illustrates this use -of the G
command:
=PATCH TESTPROG
8200 30
EXEC
ADR=8259
:>0
=
If either of the parameters
"~"
or
" n
/l
aT'e
specirie~,
the
cur~ent
value oT the execution address will be changed to
11m
plus offset" or
"m
plus
nlf,
The execution address must be
within
the
range
of addresses spanned
by
the
~ile
(between
.addresses shown
with
Land
H
commands),
The
following
example
shows
how
the
G
command
is
used
to change the
starting execution address:
21. 2.15 Change locations
=PATCH
TESTPROG
8200 30
)OG
EXEC
ADR=8259
:>2G
:>G
EXEC
ADR=8202
:>G
=
Two
commands exist that will open
a
specified
location
within the rile and allow the contents of that and subsequent
locations to be examined
o~
changed.
The
ro~mat
or
these
commands is
mL,n){/ or
\}C<st~:>J
whe~e
the slash (/)
and
backslash (\, characters are used to
distinguish between the two
commands.
Both
comma~ds
will
open
the specified location ("m plus orTset" or tim plus nil).
The
slash
command
will
set
the
"increment"
mode.
The
/
backslash
command
will
set
the
"decrement"
mode.
The
.--/
Page
21-10

Advertisement

loading

This manual is also suitable for:

Exordisk iii