Question: ' Multiplication by 10 in binary can be done thinking in A x 10-23 A + 2A or A x 10-(22A + A) x 2.

' Multiplication by 10 in binary can be done thinking in A x 10-23 A + 2A or A x 10-(22A + A) x 2. Write a subroutine to multiply a nibble by 10 and use it in nested multiplication of the power expansion form of a decimal number to convert a BCD number to its binary equivalent. Limit the numbers to 9999, so a 16-bit register can hold the result. Please, write in C for MSP430 TI
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
