Answer the following questions based on the program given:
unsigned int inVal, out, k=0x0001, m=0x8000;
unsigned char index=0xFF;. . .
while (k > 0)
{inVal = (m + k)/k;
out = someFunction(inVal);
m /= 2;
k<<=1;}...
How many times would each of the following loops actually iterate on the MSP430F5529?
What are the values of k, m, and inVal (in decimal) at the start and end of the first loop?
What are the values of k, m, and inVal (in decimal) at the start and end of the final loop?