INSTRUCTION DESCRIPTIONS

REP

Repeat Next Instruction

Instruction Format:

REP S

Opcode:

REP

 

 

23

 

16

15

8

7

0

 

 

 

 

 

 

 

 

 

 

0 0 0 0 0 1 1

0

1 1 d d d

d d d

0

0 1 0 0 0 0 0

 

 

 

 

 

 

 

 

 

 

 

Instruction Fields:

 

 

 

 

 

 

 

 

 

 

S

 

 

 

 

 

 

S

 

d d d d d d

S/L

 

S

d d d d d d

 

X0

0 0 0 1 0 0

no

 

R0 - R7

0 1 0

n n n

 

X1

0 0 0 1 0 1

no

 

N0 - N7

0 1 1

n n n

 

Y0

0 0 0 1 1 0

no

 

M0 - M7

1 0 0

n n n

 

Y1

0 0 0 1 1 1

no

 

SR

1 1 1

0 0 1

 

A0

0 0 1 0 0 0

no

 

OMR

1 1 1

0 1 0

 

B0

0 0 1 0 0 1

no

 

SP

1 1 1

0 1 1

 

A2

0 0 1 0 1 0

no

 

SSH

1 1 1

1 0 0

 

B2

0 0 1 0 1 1

no

 

SSL

1 1 1

1 0 1

 

A1

0 0 1 1 0 0

no

 

LA

1 1 1

1 1 0

 

B1

0 0 1 1 0 1

no

 

LC

1 1 1

1 1 1

 

A0 0 1 1 1 0 yes (See Notes on page A-255)

B0 0 1 1 1 1 yes (See Notes on page A-255)

where “nnn” = Rn number (R0 - R7) Nn number (N0 - N7) Mn number (M0 - M7)

A - 254

INSTRUCTION SET DETAILS

MOTOROLA

Page 523
Image 523
Motorola 24-Bit Digital Signal Processor, DSP56000 manual Rep S, Instruction Fields D d d d