Write an Assembly program (using the EDU-CPU instruction set and Mikbil simulator) to do followings. • Main program should run as an endless loop. In the loop, program should firstly read the switches from the PIA.A port. Then, program should perform the LED applications on the PIA.B port. While program is running, the user will control the LED application type to be performed, by manually turning the leftmost switch (SW7) ON / OFF. Program should check ONLY the SW7 switch, it should ignore other switches by filtering them. When program starts running, it should perform the APPLICATION1 (default application) as described below. • If user turns the SW7 switch ON, then program should perform the APPLICATION2 as described below. The user can re-select APPLICATION1 or APPLICATION2 at any time. In order to stop the program, the user will click the Stop button of simulator. LED APPLICATION TYPES Program should implement two LED application types. The followings are the examples of LED sequences. Beginning from the first step (Step1) , program should display a LED sequence one step at-a-time. The WAIT subroutine should be called after displaying a LED sequence at each step. After the last step, program should go back to the first step again.
Write an Assembly program (using the EDU-CPU instruction set and Mikbil simulator) to do followings. • Main program should run as an endless loop. In the loop, program should firstly read the switches from the PIA.A port. Then, program should perform the LED applications on the PIA.B port. While program is running, the user will control the LED application type to be performed, by manually turning the leftmost switch (SW7) ON / OFF. Program should check ONLY the SW7 switch, it should ignore other switches by filtering them. When program starts running, it should perform the APPLICATION1 (default application) as described below. • If user turns the SW7 switch ON, then program should perform the APPLICATION2 as described below. The user can re-select APPLICATION1 or APPLICATION2 at any time. In order to stop the program, the user will click the Stop button of simulator. LED APPLICATION TYPES Program should implement two LED application types. The followings are the examples of LED sequences. Beginning from the first step (Step1) , program should display a LED sequence one step at-a-time. The WAIT subroutine should be called after displaying a LED sequence at each step. After the last step, program should go back to the first step again.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 1 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY