Branching and Looping
1. Watch videos entitled "Module 4 - Introduction" and "Module 4 - Branching and Looping"
2. Using the microprocessor simulator, open the program 02light.asm.
3. Step through its execution to understand its current operation.
4. Complete the table in the Ports section of the lab to determine the appropriate Hexadecimal values to use to control the traffic lights.
5. Modify the program to step the lights through a realistic sequence. Include conditional statements that ensure that assembly program only executes for 10 times.
6. Include all of the following in a Word document entitled "Lab4_StudentID". Where your student id is substituted in the file name.
a. A screenshot of the modified assembly code
b. The values of the Ports table to control the traffic lights
c. A few screenshots that show the traffic lights on Port 1 as the program is stepped through