Download Print this page

Motorola EXORdisk II User Manual page 204

Advertisement

PATCH COMMAND
command.
=PATCH TESTPROG
2000 30
>8B!
ADDA #HH
:>9BI
ADDA HH
:>AB1
ADDA HH, X
:>BB1
ADDA HHHH
:>531
COMB
:>8DI
BSR RR
>BD!
JSR HHHH
:>29 I
BVS RR
:>G
=
21.2.8
Set search mask and pattern --
M
21.2 -- PATCH Command Set
The M command is used to initialize a sixteen-bit search
pattern
and a sixteen-bit search mask Tor
subse~uent
byte or
word
searches (sections
21. 2.9-21. 2. 12).
The
format
of
the
M
command is
(m]L,nJM
\11
her
e
" m " •
i s the sea r c h pat t ern and "n
tI
i
s the sea r c h
ma
s
k .
Initially,
both the search pattern and the
search
mask
are
set
to
zero.
The
M
command can be used to set both pattern
and mask or to set either independently
aT
the
other.
For
examplel
E5E5M
will
set
only
the search pattern to the hexadecimal number
$E5E5.
The search mask
is
unaffected;
however,
the command
I
FFFFM
will set only the
search
mask
to
the
$FFFF.
The search pattern
is
unaffected.
E5E5,FFFFM
hexadecimal
number
The command
will set both the search
pa~tern
and the search mask.
Page
21-07

Advertisement

loading

This manual is also suitable for:

Exordisk iii