Question: ELEC2220 Computer Systems Homework # 8 (due on 4/2/18) Springl 2018 In this homework, you are to write a program (independent of the previous homeworks)

 ELEC2220 Computer Systems Homework # 8 (due on 4/2/18) Springl 2018

ELEC2220 Computer Systems Homework # 8 (due on 4/2/18) Springl 2018 In this homework, you are to write a program (independent of the previous homeworks) which inputs and stores the values of the keys pressed in the IT.Keyboard component. The program consists of a main module, a subroutine delay and an ISR key isr. With a proper configuration and program set-up, the IT Keyboard component generates an IRQ interrupt when a key is pressed. The main module iterates indefinitely through a loop. Upon the occurrence of the IRQ interrupt, the key isr finds the value of the key pressed. In each iteration, the program waits for the IRQ interrupt, gets the key value (from the ISR) and stores it in the array KEYS, and calls the subroutine delay. The KEYS is an array of 20 bytes. . RAMStart-$0800 and ROMStart-$4000 The interrupt vector number for the IT Keyboard is 6 (IRQ) . Do not forget to initialize SP, clear the I flag, and set up the interrupt vector. . The subro utine delay generates a delay of about 1 second using the timer. and execute it in the start-continue mode with the IT Keyboard com- he array KEYS displayed. Press all of the 20 keys (from 0 through the the IT_Keyboard, one at a time. Do the screen-capture before the first key (0) is nent and the contents of t po preased and after the last kegy (tho blank key) i prese he key values of o through the blank key are $00 through $13, respectively. ptures attached. Submit the list file of your code with the 2 sets of screen-ca ELEC2220 Computer Systems Homework # 8 (due on 4/2/18) Springl 2018 In this homework, you are to write a program (independent of the previous homeworks) which inputs and stores the values of the keys pressed in the IT.Keyboard component. The program consists of a main module, a subroutine delay and an ISR key isr. With a proper configuration and program set-up, the IT Keyboard component generates an IRQ interrupt when a key is pressed. The main module iterates indefinitely through a loop. Upon the occurrence of the IRQ interrupt, the key isr finds the value of the key pressed. In each iteration, the program waits for the IRQ interrupt, gets the key value (from the ISR) and stores it in the array KEYS, and calls the subroutine delay. The KEYS is an array of 20 bytes. . RAMStart-$0800 and ROMStart-$4000 The interrupt vector number for the IT Keyboard is 6 (IRQ) . Do not forget to initialize SP, clear the I flag, and set up the interrupt vector. . The subro utine delay generates a delay of about 1 second using the timer. and execute it in the start-continue mode with the IT Keyboard com- he array KEYS displayed. Press all of the 20 keys (from 0 through the the IT_Keyboard, one at a time. Do the screen-capture before the first key (0) is nent and the contents of t po preased and after the last kegy (tho blank key) i prese he key values of o through the blank key are $00 through $13, respectively. ptures attached. Submit the list file of your code with the 2 sets of screen-ca

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!