Multiplication can be thought of as repeated addition. Threetimes four is 4 added to itself 3 times.
1) Create an assembly program that multiplies two 8 bit integers(2's complement) together in your PIC, using the repeated summationtechnique.
2) Add a feature to your program that detects if the answer istoo big to hold in 8 bit 2's complement notation
3) The repeated summation algorithm is slow. In a previoushomework we developed a technique for multiplying that used bitshifting, that significantly reduces the number of loop iterationsneeded. Write a PIC assembly program to multiply two 8 bit integers(2's complement) together using this technique. [Hint: be carefulof the carry bit.]
4) Develop a PIC routine to perform integer division oftwo positive 8 bit (2's complement) numbers, using a repeatedsubtraction algorithm. Report both the quotient and theremainder.
5) Develop a PIC routine to perform integer division of twopositive 8 bit (2's complement) numbers, using long division(adapted for binary numbers). Report both the quotient and theremainder.