Freescale Semiconductor SC140 specifications Loop Identifier, #u6

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 472
Image 472

DOENn

Instruction Formats and Opcodes

Instruction

Words Cycles Type Opcode

15

8

7

0

DOENn #u6

1

1

4

1 0 0 1 0 0 n n

0 1 i i

i i i i

 

 

 

 

15

8

7

0

DOENn #u16

2

1

4

0

0

1

0 0 0 n n

i

i

i

0 0 1 0 0

 

 

 

 

 

 

 

 

1

0

0

i i i i i

i

i

i

i i i i i

 

 

 

 

 

 

 

 

15

 

 

8

7

 

 

0

DOENn DR

1

1

4

1 0 0 1 1 0 n n 0 1 0 0 H H H H

Instruction Fields

n

Loop Identifier

00

Loop 0

01

Loop 1

10

Loop 2

11

Loop 3

DR

HHHH

 

 

Data/Address Register

 

 

 

 

0000

D0

0100

D4

1000

R0

1100

R4

 

 

 

 

 

 

 

 

 

 

0001

D1

0101

D5

1001

R1

1101

R5

 

 

 

 

 

 

 

 

 

 

0010

D2

0110

D6

1010

R2

1110

R6

 

 

 

 

 

 

 

 

 

 

0011

D3

0111

D7

1011

R3

1111

R7

 

 

 

 

 

 

 

 

 

Note:

This instruction can specify D8-D15 or R8-R15 as operands by using a high register prefix.

#u6

iiiiii

6-bit unsigned immediate data

#u16

iiiiiiiiiiiiiiii

16-bit unsigned immediate data

A-158

SC140 DSP Core Reference Manual

Page 472
Image 472
Freescale Semiconductor SC140 specifications Loop Identifier, #u6