[Solved] 2 Memory Mapped O Interrupt Write Mips Program Implement Following Single Digit Adder Keyb Q37248597
need help with this problem in Mips. please show result
2. (Memory mapped I/O interrupt) Write a MIPS program to implement the following single digit adder: keyboard input: X+Y- display output: X+Y-Z where X and Y are single digits (such as 2 and 7) and Z is the result (such as 9 Please use keyboard interrupt to read the keyboard input from the re- ceiver data, compute the result Z and use polling (on the transmitter control and transmitter data) to send the output X+Y-Z to the display. To test your code, you need open the MMIO in the simulator. Goto Tools→Keyboard and Display MMIO → make sure you press “connect to MIPS” to run your code. Sometimes, it is also helpful to press “reset” on the same screen. Dont forget to store registers when you write MIPS functions To slow down execution in the simulator, slide “Run speed to max” bar to the left. A detailed sketch of implementation was presented in lecture and will also be sent to you by email. Show transcribed image text 2. (Memory mapped I/O interrupt) Write a MIPS program to implement the following single digit adder: keyboard input: X+Y- display output: X+Y-Z where X and Y are single digits (such as 2 and 7) and Z is the result (such as 9 Please use keyboard interrupt to read the keyboard input from the re- ceiver data, compute the result Z and use polling (on the transmitter control and transmitter data) to send the output X+Y-Z to the display. To test your code, you need open the MMIO in the simulator. Goto Tools→Keyboard and Display MMIO → make sure you press “connect to MIPS” to run your code. Sometimes, it is also helpful to press “reset” on the same screen. Dont forget to store registers when you write MIPS functions To slow down execution in the simulator, slide “Run speed to max” bar to the left. A detailed sketch of implementation was presented in lecture and will also be sent to you by email.
Expert Answer
Answer to 2. (Memory mapped I/O interrupt) Write a MIPS program to implement the following single digit adder: keyboard input: X+Y… . . .
OR

