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 RISC-V OTTER interrupt-driven assembly language program that does the following. Each time the program receives an interrupt, the program averages the 32 unsigned bytes starting at address 0xFF00 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 right-most bit value on the input is pressed. Assume that some external device has the ability to write data to the RISC-V memory.
Minimize the number of instructions in your program
Dont do I/O from the foreground task
BUTTONS: PORT_ADDRESS =0x11008004
Output port: PORT ADDRESS =0x11001100
 Write a RISC-V OTTER interrupt-driven assembly language program that does the

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!