
IMPY.W
SC140 DSP Core Reference Manual A-189
IMPY.W Signed Immediate Integer Multiply (DALU) IMPY.W
Description
Status and Conditions that Affect Instruction
None.
Status and Conditions Changed by Instruction
Example
impy.w #$fffe,d3
Operation Assembler Syntax
#s16 * Dn.L → Dn
IMPY.W #s16,Dn {–2
15
≤ s16 < 2
15
}
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).
Register Address Bit Name Description
Ln L Clears the Ln bit in the destination register.
Register/Memory Address Before After
immediate
$FFFE
d3
$00 7FFF FFF8 $00 0000 0010
Komentarze do niniejszej Instrukcji