TMS320C25

SPRS010B Ð MAY 1987 Ð REVISED NOVEMBER 1990

Table 3. TMS320C25 Instruction Set Summary (continued)

 

 

T REGISTER, P REGISTER, AND MULTIPLY INSTRUCTIONS

 

 

 

 

 

 

 

 

 

 

MNEMONIC

DESCRIPTION

NO.

 

 

 

 

INSTRUCTION BIT CODE

 

 

 

 

 

WORDS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

APAC

Add P register to accumulator

1

1

1

0

0

1

1

1

0

0

0

0

1

0

1

0

1

LPH²

Load high P register

1

0

1

0

1

0

0

1

1

I

 

 

 

D

 

 

 

LT

Load T register

1

0

0

1

1

1

1

0

0

I

 

 

 

D

 

 

 

LTA

Load T register and accumulate previous product

1

0

0

1

1

1

1

0

1

I

 

 

 

D

 

 

 

LTD

Load T register, accumulate previous product,

1

0

0

1

1

1

1

1

1

I

 

 

 

D

 

 

 

and move data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LTP²

Load T register and store P register in

1

0

0

1

1

1

1

1

0

I

 

 

 

D

 

 

 

accumulator

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LTS²

Load T register and subtract previous product

1

0

1

0

1

1

0

1

1

I

 

 

 

D

 

 

 

MAC²

Multiply and accumulate

2

0

1

0

1

1

1

0

1

I

 

 

 

D

 

 

 

MACD²

Multiply and accumulate with data move

2

0

1

0

1

1

1

0

0

I

 

 

 

D

 

 

 

MPY

Multiply (with T register, store product in

1

0

0

1

1

1

0

0

0

I

 

 

 

D

 

 

 

P register)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MPYA³

Multiply and accumulate previous product

1

0

0

1

1

1

0

1

0

I

 

 

 

D

 

 

 

MPYK

Multiply immediate

1

1

0

1

 

 

 

 

 

 

K

 

 

 

 

 

 

MPYS³

Multiply and subtract previous product

1

0

0

1

1

1

0

1

1

I

 

 

 

D

 

 

 

MPYU³

Multiply unsigned

1

1

1

0

0

1

1

1

1

I

 

 

 

D

 

 

 

PAC

Load accumulator with P register

1

1

1

0

0

1

1

1

0

0

0

0

1

0

1

0

0

SPAC

Subtract P register from accumulator

1

1

1

0

0

1

1

1

0

0

0

0

1

0

1

1

0

SPH³

Store high P register

1

0

1

1

1

1

1

0

1

I

 

 

 

D

 

 

 

SPL³

Store low P register

1

0

1

1

1

1

1

0

0

I

 

 

 

D

 

 

 

SPM²

Set P register output shift mode

1

1

1

0

0

1

1

1

0

0

0

0

0

1

0

PM

SQRA²

Square and accumulate

1

0

0

1

1

1

0

0

1

I

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SQRS²

Square and subtract previous product

1

0

1

0

1

1

0

1

0

I

 

 

 

D

 

 

 

²These instructions are not included in the TMS320C1x instruction set. ³ These instructions are not included in the TMS32020 instruction set.

14

POST OFFICE BOX 1443 HOUSTON, TEXAS 77001

Page 14
Image 14
Texas Instruments TMS320 Apac, LPH ², Lta, LTP ², LTS ², MAC ², Macd ², Mpya ³, Mpyk, MPYS³, MPYU³, Pac, Spac, SPH ³