Question: Write a RISC - V OTTER assembly language subroutine that reformats a block of memory start at the address passed to the subroutine in a
Write a RISCV OTTER assembly language subroutine that reformats a block of memory start at the address passed to the subroutine in The original format is signed halfwords; the new format will be unsigned words, which means that all values are stored as the absolute value of their original representation. The subroutine does not reformatstore values that are zero. The number of signed halfwords to reformat is passed to the subroutine in a; the number of values reformatted is passed back to the calling code in a
Minimize the number of instructions in your solution
Don't save or restore context
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
