beautypg.com

Texas Instruments MSP50C6xx User Manual

Page 227

background image

Individual Instruction Descriptions

4-141

Assembly Language Instructions

4.14.46

MULTPLS

Multiply String and Transfer PL to Acumulator

Syntax

[label]

name

dest, src

Clock, clk

Word, w

With RPT, clk

Class

MULTPLS

An, {adrs}

Table 4–46

Table 4–46

1b

MULTPLS

An[~], An[~]

n

S

+3

1

n

R

+3

3

Execution

PH, PL

MR * src

An

PL

PC

PC + 1

Flags Affected

OF, SF, ZF, CF are set accordingly
src is {adrs}:

TAG bit is set accordingly

Opcode

Instructions

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

MULSPLS An, {adrs}

0

1

1

0

0

0

1

An

adrs

x

dma16 (for direct) or offset16 (long relative) [see section 4.13]

MULSPL S An[~], An[~]

1

1

1

0

0

1

1

An

1

1

0

1

1

0

A~

~A

Description

Perform multiplication of multiply register (MR) and value of src string. The 16
MSBs of the ((n

s

+ 3)

×

16)-bit product are stored in the product high (PH)

register. The 16 LSBs of the product (contained in product low (PL) register)
stored in An string.

Syntax

Description

MULTPLS An, {adrs}

Multiply MR by effective data memory string, move PL to An

MULTPLS An[~], An[~]

Multiply MR by An[~] string, move PL to An[~]

See Also

MULTPL, MULAPL, MULAPLS, MULSPL, MULSPLS

Example 4.14.46.1

MULTPLS A0, *R3++

Multiply the contents of R3 with MR register and store PL in accumulator string A0. Increment R3
by 2.

Example 4.14.46.2

MULTPLS A2, A2~

Multiply MR register to accumulator string A2~ and store PL to accumulator string A2.