Datasheet

2-44 MCF5407 User’s Manual
ColdFire Instruction Set Architecture Enhancements
MOVE Move Data from Source to Destination MOVE
Operation: Source Destination
Assembler Syntax: MOVE <ea>y, <ea>x
Attributes: Size = byte, word, long
Description: Moves the data at the source to the destination location and sets the condition
codes according to the data. The size of the operation may be specied as byte, word, or
longword.
Condition Codes:
Instruction elds:
Size eld—Species the size of the operand to be moved:
01— byte operation
11— word operation
10— long operation
Destination effective address eld—Species destination location; the table below
lists possible data alterable addressing modes. The restrictions on combinations of
source and destination addressing modes are listed in the table at the bottom of the
next page.
Source effective address eld—Species source operand; the table below lists
possible addressing modes. The ColdFire MOVE instruction has restrictions on
combinations of source and destination addressing modes. The table at the end of
this instruction description outlines the restrictions.
X N Z V C X Not affected
N Set if the result is negative; cleared otherwise
Z Set if the result is zero; cleared otherwise
V Always cleared
C Always cleared
∗∗00
1514131211109876543210
Instruction
Format:
0 0 SIZE DESTINATION SOURCE
REGISTER MODE MODE REGISTER
Addressing Mode Mode Register Addressing Mode Mode Register
Dx 000 reg. number:Dx (d
8
,Ax,Xi) 110 reg. number:Ax
Ax (xxx).W 111 000
(Ax) 010 reg. number:Ax (xxx).L 111 001
(Ax) + 011 reg. number:Ax #<data>
– (Ax) 100 reg. number:Ax (d
16
,PC)
(d
16
,Ax) 101 reg. number:Ax (d
8
,PC,Xi)