Page 12
ColdFire Processor Family
Version 4 ColdFire Reference Design
Revision 1.5
MOVE Move Data from Source to Destination
Source Effective Address field—specifies the source operand; the possible
addressing modes are listed in the tab le below. The ColdFire MOVE instruction
has restrictions on combinations of source and destination addressing modes.
The table shown on the bottom of this page outlines the restrictions.
NOTE
Most assemblers use MOVEA when the destination is an
address register.
Use MOVEQ to move an immediate 8-bit value to a data
register. Use MOV3Q to move a 3-bit immediate value to any
effective destination address.
Not all combinations of source/destination addressing modes
are possible. The table below shows the possible
combinations.
Note: The combination of #<xxx>,d16(Ax) addressing modes
can only be used on move byte and move word opcodes.
Refer to the previous tables for valid source and destination
addressing modes.
Addressing Mode Mode Register Addressing Mode Mode Register
Dy 000 reg. number:Dy (xxx).W 111 000
Ay 001 reg. number:Ay (xxx).L 111 001
(Ay) 010 reg. number:Ay #<data> 111 100
(Ay) + 011 reg. number:Ay
– (Ay) 100 reg. number:Ay
(d16,Ay) 101 reg. number:Ay (d16,PC) 111 010
(d8,Ay,Xi) 110 reg. number:Ay (d8,PC,Xi) 111 011
Source Addressing Mode Destination Addressing Mode
Dy, Ay, (Ay), (Ay)+,-(Ay) All possible
(d16, Ay), (d16, PC) All possible except (d8, Ax, Xi), (xxx).W, (xxx).L
(d8, Ay, Xi), (d8, PC, Xi), (xxx).W, (xxx).L, #<xxx> All possible except (d8, Ax, Xi), (xxx).W,
(xxx).L