Individual Instruction Descriptions

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

 

 

 

 

 

nS+2

 

 

1

 

 

 

 

nR+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.

4-164

Page 250
Image 250
Texas Instruments MSP50C6xx manual Shlacs Shift Left Accumulator String Individually, Accumulators in the string, 164