Download Print this page

Motorola EXORdisk II User Manual page 211

Advertisement

PATCH COMMAND
21.2 -- PATCH Command Set
Element
'A
$HHHH
DD .. , D
i.BB ... B
'*
o
Meaning
A one-character ASCII
lite~al.
A
one
to
rour
digit
number.
hexadecimal
A
decimal
number}
any
number
of
digits
in
1 eng th
i
only
the
least
significant
8
OT'
16
bits
aT
the
converted number will be used.
A binary numberl any number
o~
digits
in length;
only the least significant
8 or 16 bits of the converted
number
will be used.
The
value
of
the
current location
counter (identical to the
"*"
used by
M6800 assembler).
The value oT the current oTfset.
For
MDOS09,
the
<operand>
field is expanded to allow
register. lists, indirect, auto-incrementl auto-decrementJ
and
forced direct/extended.
PATCH automatically generates direct
mode instructions only when the most significant byte
Or
the
expression is zero.
In all other cases,
the direct mode must
be forced by the
user.
Reference
"M6800/M6801/M6805/M6809
MacT'o Assemblers Manual.
\I
This
-Format
allows
the
operator
to
enter
assembly
language mnemonics with comments after the operand field
Tor
documenting
the patch.
The instruction mnemonic decode mode
automatically puts the PATCH
command
into
the
"incT'ement
i i
mode.
As
long
as
a
close-parenthesis
charactar
is
not
encountered, PATCH will remain in
the
instruction
mnemonic
decode
mode.
A
different
input
prompt
is
displayed to
distinguish the two different PATCH input modes;
the
normal
input
prompt (/) is replaced the by the instruction mnemonic
decode mode prompt
(=:».
The
following
M6800
example
illustrates
how
the
instruction
mnemonic
decode
mode is used to insert a patch
into a -rile:
./
Page
21-14

Advertisement

loading

This manual is also suitable for:

Exordisk iii