Mpyf3||subf3 – Texas Instruments TMS320C3x User Manual

Page 616

Advertising
background image

MPYF3||SUBF3

Parallel MPYF3 and SUBF3

13-158

Status Bits

These condition flags are modified only if the destination register is R7 – R0.

LUF

1 if a floating-point underflow occurs; unchanged otherwise

LV

1 if a floating-point overflow occurs; unchanged otherwise

UF

1 if a floating-point underflow occurs; 0 otherwise

N

0

Z

0

V

1 if a floating-point overflow occurs; 0 otherwise

C

Unaffected

OVM

Operation is not affected by OVM bit value.

Example

MPYF3

R5,*++AR7(IR1),R0

||

SUBF3

R7,*AR3

– –

(1),R2

or

MPYF3

*++AR7(IR1), R5,R0

||

SUBF3

R7,*AR3

– –

(1),R2

Before Instruction

After Instruction

R0

00 0000 0000

R0

04 6718 0000

R2

00 0000 0000

R2

05 E300 0000

R5

03 4C00 0000

R5

03 4C00 0000

R7

07 33C0 0000

R7

07 33C0 0000

AR3

80 98B2

AR3

80 98B1

AR7

80 9904

AR7

80 990C

IR1

8

IR1

8

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

Data memory

80990Ch

1110000

80990Ch

1110000

8098B2h

70C8000

8098B2h

70C8000

1.79750e+02

1.2750e+01

1.4050e+02

1.4050e+02

2.88867188e+01

–3.9250e+01

2.250e+00

2.250e+00

1.2750e+01

1.79750e+02

Mode Bit

Advertising