66 shlac shift left accumulator – Texas Instruments MSP50C614 User Manual

Page 253

Advertising
background image

Individual Instruction Descriptions

4-161

Assembly Language Instructions

4.14.66

SHLAC

Shift Left Accumulator

Syntax

[label]

name

dest, src [, mod]

Clock,

clk

Word,

w

With RPT,

clk

Class

SHLAC

A

n[~], An[~] [, next A]

1

1

n

R

+3

3

Execution

[premodify AP if

mod specified]

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

SHLAC A

n[~], An[~] [, next A]

1

1

1

0

0

next A

A

n

0

0

1

1

0

0

A~

~A

Description

Premodify accumulator pointer if specified. Shift source accumulator

src (or

its offset) left by one bit and store the result in the destination accumulator (or
its offset). LSB of result is set to zero.

Example 4.14.66.1

SHLAC A1, A1

Shift accumulator A1 by one bit to the left.

Example 4.14.66.2

SHLAC A1~, A1, ––A

Predecrement accumulator pointer AP1 by 1. Shift the newly pointed accumulator A1 by one bit to the
left, store the result in accumulator A1~.

Advertising