If the replace
form of the -find
option
is used, any matching sequences will be replaced, or partially replaced, with new codes.
The usage for this sub-option is:
-find...,replace=Code [mMask]
where:
Code
is a hexadecimal code sequence to replace
the sequences that match the -find
criteria.Mask
is an optional bit mask to specify which
bits within Code
will replace the code sequence that has been
matched. This can be useful if, for example, it is only necessary to modify 4 bits
within a 16-bit instruction. The remaining 12 bits can masked and left unchanged.