Addf3 – Texas Instruments TMS320C3x User Manual

Page 512

Advertising
background image

ADDF3

Add Floating Point, 3-Operand

13-54

Example 1

ADDF3

R6,R5,R1

or

ADDF3

R5,R6,R1

Before Instruction

After Instruction

R1

00 0000 0000

R1

09 052C 0000

R5

05 7980 0000

R5

05 7980 0000

R6

08 6B28 0000

R6

08 6B28 0000

LUF

0

LUF

0

LV

0

LV

0

UF

0

UF

0

N

0

N

0

Z

0

Z

0

V

0

V

0

C

0

C

0

6.23750e+01

4.7031250e+02

5.3268750e+02

6.23750e+01

4.7031250e+02

Example 2

ADDF3

*+AR1(1),*AR7++(IR0),R4

Before Instruction

After Instruction

R4

00 0000 0000

R4

07 0DB2 0000

AR1

80 9820

AR1

80 9820

AR7

80 99FO

AR7

80 99F8

IR0

8

IR0

8

LUF

0

LUF

0

LV

0

LV

0

UF

0

UV

0

N

0

N

0

Z

0

Z

0

V

0

V

0

C

0

C

0

Data memory

809821h

700F000

809821h

700F000

8099F0h

34C2000

8099F0h

34C2000

1.28940e+02

1.27590e+01

1

.41695313e+02

1.28940e+02

1.27590e+01

Note:

Cycle Count

See Section 8.5.2,

Data Loads and Stores, on page 8-24 for the effects of

operand ordering on the cycle count.

Advertising