Freescale Semiconductor SC140 specifications Impy.w #$fffe,d3, #s16 * Dn.L → Dn, IMPY.W #s16,Dn

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 503
Image 503

IMPY.W

IMPY.W Signed Immediate Integer Multiply (DALU) IMPY.W

Operation

Assembler Syntax

#s16 * Dn.L → Dn

IMPY.W #s16,Dn {–215s16 < 215}

Description

 

IMPY.W #s16,Dn

 

Performs a signed integer multiplication on the low portion of a source data register (Dn) and an immediate signed 16-bit word. It then stores the result in a destination data register (Dn).

Status and Conditions that Affect Instruction

None.

Status and Conditions Changed by Instruction

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination register.

Example

impy.w #$fffe,d3

Register/Memory Address

immediate

d3

Before

$FFFE

$00 7FFF FFF8

After

$00 0000 0010

SC140 DSP Core Reference Manual

A-189

Page 503
Image 503
Freescale Semiconductor SC140 specifications Impy.w #$fffe,d3, #s16 * Dn.L → Dn, IMPY.W #s16,Dn