Use REPLACE to replace the contents of one or more locations with
new data in terms of the current mode settings.
Before performing the replacement, the REPLACE command confirms
the contents of the specified locations.
Replacing Data:
_________ _____
When you replace ASCII or numeric data, the number of replacement
entries cannot exceed the number of existing entries. This means,
for example, that if you confirm the contents of six consecutive
locations, you can replace the contents of only those six locations.
If the number of replacement entries is less than the number of
existing entries, the remaining locations are filled with zeros.
In addition, PATCH truncates replacement entries if they exceed
the limit imposed on them by the current length mode. For ASCII
characters, the right-most characters are discarded. For numeric
data, the left-most digits are discarded.
Format:
REPLACE location = current-contents [,...]
new-contents
.
.
.
Mode Qualifiers Default
____ __________ _______
/BYTE
/WORD /LONG
/LONG
/OCTAL
/DECIMAL /HEXADECIMAL
/HEXADECIMAL
/[NO]ASCII /NOASCII
Prompts:
LOC> location
OLD> current-contents
NEW> new-contents
Additional Information:
explode
extract