The method is based on Horner's method. The MSP430TM microcontroller (MCU) can perform a register shift or add in one instruction cycle. This allows fast execution of multiplications and divisions using Horner's method. This method not only produces accurate results but also provides a very ...
The interim products in this process consist of the upper number multiplied by either 1 or 0. So the whole process is just a series of adds and shifts. In a later chapter, a binary multiplication program is included to demonstrate how this is done on the MSP430 microcontroller. Show more...
2. Then I thought to multiply it by using shift operator. And I found binary equivalent of 72 i.e 1001000. & I did multiply by: x = (x<<6) + (x<<3); // in above binary of 72, bit 3 & bit 6 are 1 rest are 0. ...
The method described in this application report is based on Horner's method. The MSP430 microcontroller CPU can perform a register shift or add in one instruction cycle. This allows fast execution of multiplications and divisions using Horner's method. This method not only produces accurate results...