Texas Instruments MSP50C614 User Manual

Page 225

Advertising
background image

Individual Instruction Descriptions

4-133

Assembly Language Instructions

4.14.39

MULS

Multiply String With No Data Transfer

Syntax

[label]

name

src

Clock,

clk

Word,

w

With RPT,

clk

Class

MULS

A

n [~]

n

S

+3

1

n

R

+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 A

n[~]

1

1

1

0

0

1

1

A

n

1

1

1

1

0

0

A~

0

Description

Multiply MR and the value in

src. The 16 MSBs of the ( (n

s

+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 A

n is a string

of length n

S

+2, where n

S

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.

Advertising