EasyManua.ls Logo

Commodore PC 20 - Page 365

Commodore PC 20
494 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
[
[
[~
[~
[-
Move
Purpose:
Moves
the
block
of
memory
specified
by
range
to
the
location
beginning
at
the
specified address.
Syntax:
Mrange address
Comments:
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
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
important.
Example:
Suppose you
type
the
following command:
MCS:100
110
CS:500
In
response, debug
would
first
move
address
CS:ll0
to
CS:510,
then
move
CS:I0F
to
CS:50F,
and
so
on
until
CS:I00
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.
Debug 227
(M)ove
Using the Move
command

Table of Contents

Related product manuals