beautypg.com

Impyuu, Integer multiply, Instruction formats and opcodes instruction fields – Freescale Semiconductor StarCore SC140 User Manual

Page 509: Operation assembler syntax, Impyuu d5,d3,d1

background image

IMPYUU

SC140 DSP Core Reference Manual

A-195

IMPYUU

Integer Multiply

IMPYUU

Unsigned By Unsigned (DALU)

Description

Status and Conditions that Affect Instruction

None.

Status and Conditions Changed by Instruction

Example

impyuu d5,d3,d1

Instruction Formats and Opcodes

Instruction Fields

Da

jjj

Single Source/Destination Data Register

Operation

Assembler Syntax

Da.L * Db.L

→ Dn

IMPYUU Da,Db,Dn

IMPYUU Da,Db,Dn

Performs an unsigned integer multiplication on the 16-bit LP (Da) of one data register and the16-bit LP of
another data register (Db). It then stores the zero-extended 32-bit result in a data register (Dn).

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination register.

Register/Memory Address

Before

After

D5

$00 0000 0002

D3

$FF FFFF FFFC

L1:D1

$0:$00 0001 FFF8

Instruction

Words Cycles Type

Opcode

15

8

7

0

IMPYUU Da,Db,Dn

2

1

4

0

0

1

1

0

1

1

0

j

j

j

0

0

F

F

F

1

0

0

0

0

0

0

0

0

0

0

0

0

J

J

J

000

D0

010

D2

100

D4

110

D6

001

D1

011

D3

101

D5

111

D7

Note:

This instruction can specify D8-D15 as operands by using a prefix.