Texas Instruments MSP50C614 User Manual

Page 254

Advertising
background image

Individual Instruction Descriptions

4-162

4.14.67

SHLACS

Shift Left Accumulator String Individually

Syntax

[label]

name

dest, src

Clock,

clk

Word,

w

With RPT,

clk

Class

SHLACS

A

n[~], An[~]

n

S

+2

1

n

R

+2

3

Execution

dest

src << 1

PC

PC + 1

Flags Affected

OF, SF, ZF, CF are set accordingly

Opcode

Instructions

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

SHLACS A

n[~], An[~]

1

1

1

0

0

1

1

A

n

0

0

1

1

0

0

A~

~A

Description

Shift the source accumulator string

src (or its offset) left one bit and store the

result in destination accumulator string (or its offset). Each accumulator is
shifted individually. The shifted bit is propagated through consecutive
accumulators in the string.

Example 4.14.67.1

SHLACS A1~, A1

Shift accumulator string A1 one bit to the left, store the result in accumulator string A1~. Note that this
instruction alters the content of all accumulators in the string.

Advertising