INSTRUCTION DESCRIPTIONS

REP

Repeat Next Instruction

REP

Explanation of Example: Prior to execution, the 24-bit X0 register contains the value $000100, and the 16-bit loop counter (LC) register contains the value $0000. The execu- tion of the REP X0 instruction takes the 24-bit value in the X0 register, truncates the MS 8 bits, and stores the 16 LS bits in the 16-bit loop counter (LC) register. Thus, the single- word MAC instruction immediately following the REP instruction is repeated $100 times.

Condition Codes:

15

14

 

13

12

11

10

9

8

7

6

 

5

4

3

2

1

0

LF

DM

T

**

 

S1

S0

 

I1

I0

S

L

E

U

 

N

Z

 

V

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MR

 

 

 

 

 

 

 

 

 

 

 

CCR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

For source operand A or B:

S — Computed according to the definition. See Notes on page A-255.L — Set if data limiting occurred. See Notes on page A-255.

For other source operands:

The condition code bits are not affected.

A - 250

INSTRUCTION SET DETAILS

MOTOROLA

Page 519
Image 519
Motorola 24-Bit Digital Signal Processor, DSP56000 manual Condition Codes