Download MOVE

Transcript
MOVEA
MOVEA
Move Address from Source to Destination
(All ColdFire Processors)
Source → Destination
Operation:
Assembler Syntax: MOVEA.sz <ea>y,Ax
Attributes:
Size = word, longword
Description: Moves the address at the source to the destination address register. The size
of the operation may be specified as word or longword. Word size source operands are sign
extended to 32-bit quantities before the operation is done.
Condition Codes: Not affected
Instruction
Format:
15
14
0
0
13
12
Size
11
10
9
Destination
Register, Ax
8
7
6
0
0
1
5
4
3
2
1
Source Effective Address
Mode
Register
Instruction fields:
• Size field—Specifies the size of the operand to be moved:
— 0x reserved
— 11 word operation
— 10 longword operation
• Destination Register field — Specifies the destination address register, Ax.
•
4-46
Source Effective Address field—Specifies the source operand, <ea>y; the table
below lists possible 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
ColdFire Family Programmer’s Reference Manual
0