MOVE16

MOVE16

Operation:
Source Block -->; Destination Block

Compatibility: MC68040 only

Assembler Syntax:
MOVE16 (Ax)+, (Ay)+
MOVE16 xxx.L, (An)
MOVE16 xxx.L, (An)+
MOVE16 (An), xxx.L
MOVE16 (An)+, xxx.L

Attributes: Size = (Line)

Description: Moves the source line to the destination line.
The lines are aligned to 16-byte boundaries. Applications
for this instruction include coprocessor communications,
memory initialization, and fast block copy operations.

MOVE16 has two formats. The postincrement format uses
the postincrement addressing mode for both source and dest-
ination, while the absolute format specifies an absolute
long address for either the source or distination.

Line transfers are performed using burst reads and writes
which begin with the long word pointed to by the <ea> of the
source and destination, respectively. An address register
used in the postincrement addressing mode is incremented
by 16 after the transfer.

Example: MOVE16 (A0), $FE802 A0 = $1400F

The line at address $14000 is read into a temporary holding
register by a burst read transfer starting with long word
$1400C. Address values in A0 or $14000-$1400F cause
the same line to be read, starting at different long words.
The line is then written to the line at address $FE800 begin-
ning with long word $FE800. After the instruction A0
contains $1401F.

Condition Codes:
Not affected.

Instruction Format (Postincrement source and destination):
\i2++++-++---+--3Reg Ax,+3Reg Ay,------------

Instruction Fields (Postincrement source and destination):
Register Ax -- Specifies a source address register for the
postincrement addressing mode.
Register Ay -- Specifies a destination address register for
the postincrement addressing mode.

\bInstruction Format (Absolute Long Address source
or destination):\b
\i3++++-++----2OpMd,3Reg Ay,0High-order Address,0Low-order address,

\bInstruction Fields (Absolute Long Address source
or destination):\b
OpMd Field -- Specifies the addressing modes used for source
and destination:
00 -- Source is postincrement mode; Destination is
absolute long.
01 -- Source is absolute long mode; Destination is
postincrement.
10 -- Source is indexed mode; Destination is absolute
long.
11 -- Source is absolute long mode; Destination is
indexed.
Register Ay -- Specifies an address register for the indirect
or postincrement addressing mode used as a source or
destination.
32-bit Address field -- Specifies the absolute address used
as a source or destination.

Related Instructions:
MOVE,455
MOVEA,456
MOVEM,461
.459461