Individual Instruction Descriptions

4.14.65 SFM

Set Fractional Mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Syntax

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[label]

 

name

 

 

 

 

 

 

Clock, clk

Word, w

 

 

With RPT, clk

 

 

Class

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SFM

 

 

 

 

 

 

 

1

 

 

1

 

 

 

 

N/R

 

 

 

 

9d

Execution

STAT.FM

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PC PC + 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Flags Affected

None

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Opcode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instructions

 

16

15

14

13

12

11

 

10

9

8

7

6

 

5

 

4

3

2

 

1

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RXM

 

1

1

1

1

1

1

 

1

1

0

1

1

 

0

 

0

0

0

 

0

 

0

Description

Sets bit 3 (the FM bit) in status register (STAT) to 1. Enable multiplier shift

 

 

 

mode for signed fractional arithmetic.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Example 4.14.65.1

SFM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Set fractional mode. Set FM bit of STAT to 1.

Assembly Language Instructions

4-161

Page 247
Image 247
Texas Instruments MSP50C6xx manual SFM Set Fractional Mode, Mode for signed fractional arithmetic