Motorola CPU32 Reference Manual page 150

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

MOVEP
Operation:
Assembler
Syntax:
Attributes:
Description:
address space (typically assigned to a peripheral), starting at the location specified
and incrementing by two. This instruction is designed for 8-bit peripherals on a 16-bit
data bus. The high-order byte of the data register is transferred first and the low-order
byte is transferred last. The memory address is specified by the address register indi-
rect plus 16-bit displacement addressing mode. If the address is even, all the trans-
fers are to or from the high-order half of the data bus; if the address is odd, all the
transfers are to or from the low-order half of the data bus. The instruction also
accesses alternate bytes on an 8- or 32-bit bus.
Example:
31
HIGH ORDER
158
MOTOROLA
4-102
Move Peripheral Data
Source → Destination
MOVEP Dx, (d, Ay)
MOVEP (d, Ay), Dx
Size = (Word, Long)
Moves data between a data register and alternate bytes within the
Long transfer to/from an even address.
Byte Organization in Register
24
23
MID-UPPER
Byte Organization in Memory (Low Address at Top)
HIGH ORDER
MID-UPPER
MID-LOWER
LOW ORDER
INSTRUCTION SET
16
15
MID-LOWER
7
MOVEP
8
7
LOW ORDER
0
CPU32
REFERENCE MANUAL
0

Advertisement

Table of Contents
loading

Table of Contents