EasyManua.ls Logo

Mostek z80 - C-Copy Command; Description of C Command

Default Icon
116 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...
3-18
3.17
C-COPY
CQVlMAND
FORMAT:
,C
s,f,d
(CR)
3.18
DESCRIPTION,
C
COMMAND
The
COpy
coounand
is
used
to
move
a block
of
data
(or
code)
fran
start
address
"s"
through
finish
address
"f"
to
destination
address
"d".
The
destination
address
can be
in
the
range
"s"
through
"f"
(i.e.
blocks
may
be
moved
a few
bytes
forward
or
backward
if
desired).
When
copying
code,
care
should be
taken
to
copy
canplete
instructions
on
both
ends,
am
the
displacement
should be
corrected
for
relative
branch
instructions
within
the
block which branch
outside
the
block.
3.19
EXAMPLE,
C
CQVlMAND
,~
0,lF(CR) <
note
two
different
lines
of
code
0000
3E
00
3C
3C
2F
3C 3C
2F
18
F6
00
00
00
00 00
00
0010
00
00 00 00 00
00 00
00
00
00
00 00 00 00 00 00
,f
0,F,10(CR) < copy
first
line
to
second
line
,~
0,lF(CR) <
note
result
of
copy
0000
3E
00
3C
3C
2F
3C
3C
2F
18
F6
00
00
00
00 00 00
0010
3E
00
3C
3C
2F
3C
3C
2F
18
F6
00
00
00
00
00
00
,

Other manuals for Mostek z80