sulmul
sulmul
signed times unsigned long multiply
Code: 26 F5
Description: Perform signed long multiplication. This instruction forms the double
length product of Areg and Breg, with Creg as carry in, treating the initial value Areg
as signed and Breg as unsigned.
Definition:
Areg′unsigned
Breg′
← prod rem 2BitsPerWord
← prod / 2BitsPerWord
Creg′
← undefined
where prod = (Bregunsigned × Areg) + Cregunsigned
– the value of prod is calculated to unlimited precision
Error signals: none
Comments:
Secondary instruction.
See also: lmul slmul
181/212
®