Home / Expert Answers / Computer Science / can-you-make-a-flowchart-for-this-write-an-arm-assembly-language-program-to-read-two-external-pins-pa263

(Solved): Can you make a flowchart for this Write an ARM Assembly language program to read two external pins ...



Can you make a flowchart for this

student submitted image, transcription available below
Write an ARM Assembly language program to read two external pins of a microprocessor and take action based on the values of those pins. The external pins provide the information about status of train on the track. The action to be taken requires the train crossing traffic signal lights to be set correctly. The train crossing traffic lights have Green, Amber, and Red colors. The Green, Amber, and Red are three LEDs that can be turned on/off by the microprocessor. - If the external pin values are 00 system is having a fault, the traffic crossing light is both RED and AMBER simultaneously. - If the external pin values are 01 , the train is NOT present on the crossing and traffic crossing light is Green only. - If the external pin values are 10 , the train is approaching the crossing and the traffic crossing light is Amber only. - If the external pin values are 11 , the train is presently passing through the crossing and the traffic crossing light is Red only. Assume the pin direction and modes are already set for you. The program should constantly monitor the pins, so that it can change the lights (LEDs). The addresses of all the external input pins and LEDs are as follows:


We have an Answer from Expert

View Expert Answer

Expert Answer



We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe