Lab 8 Due Thursday, March 4, 9PM Because of Dr. Petersen's illness, we will be programming the simulator this week rather than the boxes. This is an "ungraded" lab to be checked off during your session this week. The lab 8 handin directory will close sometime after 9PM Thursday. It is a 10-point ungraded lab. Hopefully, we will have enough kits to make use of this the week after next. Although you are free to discuss the techniques for creating patterns, please be sure that your patterns are your own. For this assignment: a. Decide on 4 (or more) different patterns of bits that you would like to see on the LEDs. For example, a single lit bit marching from left to right, or perhaps a pair, or.... Use your imagination. You may want to try using some of the bit manipulation instructions. b. Write each as a subroutine that works as follows: If passed a 0 in the accumulator, it initializes itself Otherwise, it performs whatever function takes it from one configuration to another, with the input and the output being in the accumulator. c. Write a main program that will call each of the four routines the appropriate number of times. For example, if a single 'on' bit is moved left to right to left, 0 would initialized the accumulator to 11111110 (the LEDs turn on for a 0), then the eighth call would result in 011111111, and routine would detect the pattern 01111111 and start rotating in the other direction to get back to 1111110 on the sixteenth call. d. Test your main program and explain it to the TA during your Wednesday or Thursday lab. Add a breakpoint to your program after the call to each routine so that the bits marching through the accumulator can be observed. e. In your README, describe the patterns you have come up with and how you implemented them. SUBMIT: README a. Name, login, etc b. Descriptions of the bit patterns you've decided on c. Other program information d. What do you think of the HC11 vs MIPS? bits.asm Grading: 10: Program and readme 8: Program and poor readme 5: Just program or just readme Checkoff: -4: No checkoff or program not working during checkoff