Motorola MCF5281, MCF5282 user manual Operation, Assembler Syntax, Attributes, Instruction Format

Models: MCF5282 MCF5281

1 816
Download 816 pages 28.97 Kb
Page 101
Image 101

ColdFire Instruction Set Architecture Enhancements

BITREV

Bit Reverse Register

 

(Supported Starting with ISA A+)

Operation:

Bit Reversed Dx Dx

Assembler Syntax:

BITREV.L Dx

BITREV

Attributes:

Size = longword

Instruction Format:

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

1

1

0

0

0

Register, Dx

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The contents of the destination data register are bit-reversed; that is, new Dx[31] = old Dx[0], new Dx[30] = old Dx[1], ..., new Dx[0] = old Dx[31].

Condition Codes: Not affected

Instruction Field:

Register field—Specifies the destination data register, Dx.

 

BITREV

V2, V3 Core (ISA_A)

V4 Core (ISA_B)

V2 Core (ISA_A+)

 

 

 

 

 

 

 

 

Opcode present

No

No

Yes

 

 

 

 

 

 

 

 

 

 

 

 

 

MOTOROLA

Chapter 2. ColdFire Core

2-29

Page 101
Image 101
Motorola MCF5281, MCF5282 user manual Operation, Assembler Syntax, Attributes, Instruction Format