Data Movement Instructions - Motorola CPU32 Reference Manual

M68300 series central processor unit
Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

III
4.3.2 Data Movement Instructions
The MOVE instruction is the basic means of transferring and storing address
and data. MOVE instructions transfer byte, word, and long-word operands from
memory to memory, memory to register, register to memory, and register to
register. Address movement instructions (MOVE or MOVEA) transfer word and
long-word operands and ensure that only valid address manipulations are
executed.
In addition to the general MOVE instructions, there are several special data
movement instructions -
move multiple registers (MOVEM), move peripheral
data (MOVEP), move quick (MOVEQ), exchange registers (EXG), load effective
address (LEA), push effective address (PEA), link stack (LINK), and unlink stack
(UNLK). Table 4-2 is a summary of the data movement operations.
Instruction
EXG
LEA
LINK
MOVE
MOVEA
MOVEM
MOVEP
MOVEO
PEA
UNLK
MOTOROLA
4-8
Table 4-2. Data Movement Operations
Syntax
Operand
Operation
Size
Rn, Rn
32
Rn
=:}
Rn
(ea), An
32
(ea)
=:}
An
An, #(d)
16,32
SP - 4
=:}
SP, An
=:}
(SP); SP
=:}
An, SP
+
d
=:}
SP
(ea), (ea)
8,16,32
Source
=:}
Destination
(ea), An
16,32
=:}
32
Source
=:}
Destination
list, (ea)
16,32
Listed registers
=:}
Destination
(ea), list
16,32
=:}
32
Source
=:}
Listed registers
On, (d16, An)
16,32
On [31 : 24]
=:}
(An
+
d); On [23 : 16]
=:}
(An
+
d
+
2);
On [15 : 8]
=:}
(An
+
d
+
4); Dn [7: 0]
=:}
(An
+
d
+
6)
(d16, An), On
(An
+
d)
=:}
On [31 : 24]; (An
+
d
+
2)
=:}
On [23 : 16];
(An
+
d
+
4)
=:}
Dn [15 : 8]; (An
+
d
+
6)
=:}
On [7: 0]
#(data), On
8
=:}
32
Immediate data
=:}
Destination
(ea)
32
SP - 4
=:}
SP; (ea)
=:}
SP
An
32
An
=:}
SP; (SP)
=:}
An, SP
+
4
=:}
SP
INSTRUCTION SET
CPU32 REFERENCE MANUAL

Advertisement

Table of Contents
loading

Table of Contents