Texas Instruments TMS320C2XX User Manual

Page 310

Advertising
background image

Shift Accumulator Left

SFL

7-157

Assembly Language Instructions

Syntax

SFL

Operands

None

Opcode

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

1

0

0

1

0

0

0

0

0

1

1

1

1

1

0

1

Execution

Increment PC, then ...
(ACC(31))

C

(ACC(30:0))

ACC(31:1)

0

ACC(0)

Status Bits

Affects
C

This instruction is not affected by SXM.

Description

The SFL instruction shifts the entire accumulator left one bit. The least signifi-
cant bit is filled with a 0, and the most significant bit is shifted into the carry bit
(C). SFL, unlike SFR, is unaffected by SXM.

Words

1

Cycles for a Single SFL Instruction

ROM

DARAM

SARAM

External

1

1

1

1+p

Cycles for a Repeat (RPT) Execution of an SFL Instruction

ROM

DARAM

SARAM

External

n

n

n

n+p

Example

SFL

Before Instruction

After Instruction

ACC

X

B0001234h

ACC

1

60002468h

C

C

Cycles

Advertising