Integer Multiply With Left Shift and Saturation
SMPY(HL/LH/H)
3-117
TMS320C62x/C67x Fixed-Point Instruction Set
Example 3
SMPYLH .M1 A1,A2,A3
Before instruction
2 cycles after instruction
A1
0000 8000h
–32768
‡
A1
0000 8000h
A2
8000 0000h
–32768
†
A2
8000 0000h
A3
XXXX XXXXh
A3
7FFF FFFFh
2147483647
CSR
0001 0100h
CSR
0001 0300h
Saturated
† Signed 16-MSB integer
‡ Signed 16-LSB integer