Parallel instruction set summary, 3 parallel instruction set summary – Texas Instruments TMS320C3x User Manual

Page 475

Advertising
background image

Parallel Instruction Set Summary

13-17

Assembly Language Instructions

13.3 Parallel Instruction Set Summary

Table 13–9 lists the ’C3x instruction set in alphabetical order. Each table
entry shows the instruction mnemonic, description, and operation. Refer to
Section 13.1 for a functional listing of the instructions and individual instruc-
tion descriptions.

Table 13–9. Parallel Instruction Set Summary

(a) Parallel arithmetic with store instructions

Mnemonic

Description

Operation

ABSF

||

STF

Absolute value of a floating point

|

src2|

dst1

||

src3

dst2

ABSI

|| STI

Absolute value of an integer

|

src2|

dst1

||

src3

dst2

ADDF3

|| STF

Add floating-point value

src1 + src2

dst1

||

src3

dst2

ADDI3

|| STI

Add integer

src1 + src2

dst1

||

src3

dst2

AND3

|| STI

Bitwise-logical AND

src1 AND src2

dst1

||

src3

dst2

ASH3

|| STI

Arithmetic shift

If

count

0:

(

src2 << count)

dst1

||

src3

dst2

Else:

(

src2 >> |count|)

dst1

||

src3

dst2

FIX

|| STI

Convert floating-point value to integer

Fix (

src2)

dst1

||

src3

dst2

FLOAT

|| STF

Convert integer to floating-point value

Float(

src2)

dst1

||

src3

dst2

Legend:

count

register addr (R7–R0)

op3

register addr (R0 or R1)

dst1

register addr (R7–R0)

op6

register addr (R2 or R3)

dst2

indirect addr (

disp = 0, 1, IR0, IR1)

src1

register addr (R7–R0)

op1, op2, op4, and op5

src2

indirect addr (

disp = 0, 1, IR0, IR1)

Any two of these operands must be

src3

register addr (R7–R0)

specified using register addr; the remaining
two must be specified using indirect.

Advertising