



If correctly entered, the TOD (To BCD) instruction will take the integer value in the counters accumulator, convert it to Binary Coded Decimal, and then move (copy) this BCD value to the control panel LED display (O:4). You might consider using a bit from the free‐running timer located in S2:4 to create the cautionary flashing effect. When the Amber light appears, the Walk Sign will commence to flash On and Off and continue to do so until the Red signal appears.

Once the Walk Sign is illuminated, it will remain so for the duration of the Green signal.If the Green light is already illuminated when the button is pressed then the Walk signal sequence will be delayed until the next Red to Green transistion ocurrs.When depressed, the crosswalk pushbutton will cause the appropriate Walk Sign to be illuminated at the next occurence of a Red to Green transition for the appropriate direction.This is not necessarily a word comparison exercise, but it's a task that needs doing, and you should now have sufficient expertise to accomplish it. 2 Exercise #2 ‐‐ Dealing with Pedestrians Modify your program so that the crosswalks are also controlled.
