beautypg.com

Texas Instruments MSP50C6xx User Manual

Page 250

background image

Individual Instruction Descriptions

4-164

4.14.68

SHLACS

Shift Left Accumulator String Individually

Syntax

[label]

name

dest, src

Clock, clk

Word, w

With RPT, clk

Class

SHLACS

An[~], 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 An[~], An[~]

1

1

1

0

0

1

1

An

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.68.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.