Question: Problem 9. (10 pts) Assume memory location Ox4A002014 has 4 switches attached to it, and Ox4A003010 has 4 LEDs attached to it as given below.
Problem 9. (10 pts) Assume memory location Ox4A002014 has 4 switches attached to it, and Ox4A003010 has 4 LEDs attached to it as given below. Write an assembly code to map switches to LEDs so that switcho turns on led3, switch1 turns on led2 ... switch3 turns on ledo. Assume 2014 is IDR (to read) and 3010 is ODR (to write) of relevant registers bits - bit3 bit2bitebite X4A002014: 503 s2 s1 se X4A003010 : 1de3 dez idei de Problem 9. (10 pts) Assume memory location Ox4A002014 has 4 switches attached to it, and Ox4A003010 has 4 LEDs attached to it as given below. Write an assembly code to map switches to LEDs so that switcho turns on led3, switch1 turns on led2 ... switch3 turns on ledo. Assume 2014 is IDR (to read) and 3010 is ODR (to write) of relevant registers bits - bit3 bit2bitebite X4A002014: 503 s2 s1 se X4A003010 : 1de3 dez idei de
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
