Texas Instruments MSP50C614 manual Multpls, Execution PH, PL MR * src PC PC + Flags Affected

Models: MSP50C614

1 414
Download 414 pages 24.44 Kb
Page 231
Image 231

Individual Instruction Descriptions

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

 

 

 

 

 

 

 

nS+3

 

 

1

 

 

 

 

 

nR+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 ((ns + 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.45.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.45.2 MULTPLS A2, A2~

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

Assembly Language Instructions

4-139

Page 231
Image 231
Texas Instruments MSP50C614 manual Multpls, Execution PH, PL MR * src PC PC + Flags Affected, Stored in An string