Multiply Signed 16 MSB x Signed 16 LSB With Left Shift and Saturation SMPYHL
3-223 Instruction SetSPRU733
Example SMPYHL .M1 A1,A2,A3
Before instruction 2 cycles after instruction
A1
008A 0000h
138
†
A1 008A 0000h
A2 0000 00A7h 167
‡
A2 0000 00A7h
A3 xxxx xxxxh A3 0000 B40Ch 46092
CSR 0001 0100h CSR 0001 0100h Not saturated
†
Signed 16-MSB integer
‡
Signed 16-LSB integer