Question: i need assembly program with screenshot of output please 1. Write an assembly program that interfaces switches, SW1 and SW2, and LEDs, LED1 and LED2,

i need assembly program with screenshot of output please
1. Write an assembly program that interfaces switches, SW1 and SW2, and LEDs, LED1 and LED2, as follows (You should use interrupts for both switches) [50 pts] Initially, both the LEDs should be turned off. When SW2 is pressed for the first time, LED2 should be turned on. The next time SW2 is pressed, LED2 is turned off. The sequence continues hence each press changes the state of LED2. SW1 controls LED1 as follows: while SW1 is pressed, LED1 is on and when SW1 is released LED1 is turned off. Hint: Inside the ISR change the edge of P1IES to trigger the ISR as required a. b. c
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
