Lab 8 Week of November 15 Procedure calls in HC11 1. Write a LCDINT routine to print a 16-bit unsigned integer (presumably passed in the D register) to the LCD display in decimal, character by character. Write a well-structured HC11 procedure, saving all registers that you use at the start of the procedure, and restoring them at the end. Make sure that the characters come out the LCD display in the correct order. It may be a good idea to not use loops, and just repeat the code the appropriate number of times, as long as you do not print out any leading zeros. Test your code reading D from the switches. 2. Debug the fibonocci program shown in class (there were several errors, some discussed in class). Modify the code to take an 8-bit input from the switches and create a 16-bit fibonocci number. Output the input number and the answer to the LCD display, for example as 'F(7)=13' 3. Submit (5 pm Friday, November 19): readme Clear discussion of your HC11 procedure calling convention fib.asm For a +: Checkoff and submission on your Monday or Tuesday lab session. And excellent readme. or Write a recursive HC11 routine to sum the squares of the input value down to 1, and print out on the display, for example, 'F(7)=13 and SQ(7)=140'. Again, use an 8-bit input but do 16-bit calculations.