Motorola ColdFire MCF5281 User Manual page 102

Motorola microcontroller user's manual
Table of Contents

Advertisement

ColdFire Instruction Set Architecture Enhancements
BYTEREV
Operation:
Assembler Syntax:
Attributes:
Instruction
15
14
Format:
0
0
The contents of the destination data register are byte-reversed as defined below:
Condition Codes:
Instruction Field:
Register field—Specifies the destination data register, Dx.
BYTEREV
Opcode present
2-30
Byte Reverse Register
(Supported Starting with ISA A+)
Byte Reversed Dx → Dx
BYTEREV.L Dx
Size = longword
13
12
11
10
9
0
0
0
0
1
new Dx[31:24]
new Dx[23:16]
new Dx[15:8]
new Dx[7:0]
Not affected
V2, V3 Core (ISA_A)
No
MCF5282 User's Manual
8
7
6
5
0
1
1
0
= old Dx[7:0]
= old Dx[15:8]
= old Dx[23:16]
= old Dx[31:24]
V4 Core (ISA_B)
No
BYTEREV
4
3
2
1
0
0
0
Register, Dx
V2 Core (ISA_A+)
Yes
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfire mcf5282

Table of Contents