Question: Using assembly language: Task 1: Write a complete program to turn on all 8 LEDs by pressing the push button (P0.14) eight times. By each
Using assembly language:

Task 1: Write a complete program to turn on all 8 LEDs by pressing the push button (P0.14) eight times. By each press on the push button one of the eight LEDs should get on. Start from PO.8 to P0.15. (first press, turn on P0.8, second press turn on P0.9 and so on). Task 2: Write a complete program to turn off all 8 LEDs( on Task1), based on the result of comparison between number A, and B A is a constant value 10, and B is the number of press on push button. If B is equal A, turn off all 8 LEDs. (Now after you are done with Task1, keep on pressing push button till B is equal to A, then turn off all 8 LEDs.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
