Texas Instruments MSP50C614 Muls Multiply String With No Data Transfer, PH,PL MR * src string

Models: MSP50C614

1 414
Download 414 pages 24.44 Kb
Page 225
Image 225

Individual Instruction Descriptions

4.14.39 MULS

 

Multiply String With No Data Transfer

 

 

 

 

 

 

 

 

 

 

 

Syntax

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[label]

 

name

src

 

 

 

 

 

 

 

Clock, clk

Word, w

 

 

With RPT, clk

 

 

Class

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MULS

An [~]

 

 

 

 

 

 

 

nS+3

 

 

1

 

 

 

 

nR+3

 

 

 

 

3

Execution

PH,PL MR * src string

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PC PC + 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Flags Affected

None

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Opcode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instructions

 

16

15

14

13

12

 

11

10

9

 

8

7

6

 

5

 

4

3

 

2

 

1

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MULS An[~]

 

1

1

1

0

0

 

1

1

An

 

1

1

 

1

 

1

0

0

A~

0

Description

Multiply MR and the value in src. The 16 MSBs of the ( (ns+3) x 16 ) ±bit product

 

 

 

are stored in the PH register. The value in src is unchanged and the value in

 

 

 

PL is ignored. This instruction rounds the upper 16 bits. Note that An is a string

 

 

 

of length nS+2, where nS is the value in STR register.

 

 

 

 

 

 

 

 

 

See Also

MUL, MULR, MULAPL, MULSPL, MULSPLS, MULTPL, MULTPLS,

 

 

 

MULAPL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Example 4.14.39.1

MULS A0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiply MR with A0 and store the upper 16 bits (with rounding) to PH register.

Assembly Language Instructions

4-133

Page 225
Image 225
Texas Instruments MSP50C614 manual Muls Multiply String With No Data Transfer, PH,PL MR * src string, Mulapl