Commodore PC Ms-Dos 3.2 User's Manual page 299

Table of Contents

Advertisement

Debug 227
Move
fi
Purpose:
Moves the block of memory specified by range to the location
>-*v
beginning at the specified address.
Syntax:
>—v
Mrange address
Comments:
>*»v
Overlapping moves (i.e., moves where part of the block overlaps
'
some of the current addresses) are always performed without loss
of data. Addresses that could be overwritten are moved first. For
^^^
moves from higher to lower addresses, the sequence of events is
{*)
to first move the data beginning at the block's lowest address and
then work toward the highest. For moves from lower to higher
addresses, the sequence is to first move the data beginning at the
f~*)
block's highest address and then work toward the lowest.
Note that if the addresses in the block being moved will not have
new data written to them, the data in the block before the move
^)
will remain. The M (move) command copies the data from one
area into another, in the sequence described, and writes over the
new addresses. This action is why the sequence of the move is
s~\
important.
Example:
f/"-\
Suppose you type the following command:
MCS:100
110
CS:500
^^
In response, debug would first move address CS:11O to CS:51O,
then move CS:1OF to CS:5OF, and so on until CS:1OO is moved to
CS:500. To review the results of the move, you could type the
{***}
D command, using the same address as you used with the M
command.
(M)ove
Using the Move
command
n

Advertisement

Table of Contents
loading

Table of Contents