Question: Write a RISC - V OTTER interrupt - driven assembly language program that does the following. Each time the program receives an interrupt, the program
Write a RISCV OTTER interruptdriven assembly language program that does the following. Each time the program receives an interrupt, the program averages the unsigned bytes starting at address xFF in memory, and outputs that average to address given below. After an interrupt, remain in the background task until the program detects the button associated with the rightmost bit value on the input is pressed. Assume that some external device has the ability to write data to the RISCV memory.
Minimize the number of instructions in your program
Dont do IO from the foreground task
BUTTONS: PORTADDRESS x
Output port: PORT ADDRESS x
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
