Assume the operating system for our simulator has had new se…
Assume the operating system for our simulator has had new service routines added to it. Consider the following code fragment that requests one of those new service routines: LW a2, %lo(B)(t0) ADDI a0, zero, 34 LOOP: ECALL ADDI a2, a2, -1 Also consider the following partial trap vector table (aka jump table): ADDRESS CONTENTS 0x0000_007C 0x0000_0708 0x0000_0080 0x0000_0528 0x0000_0084 0x0000_0914 0x0000_0088 0x0000_0958 A. What address is used by the code above to access the trap vector table? B. What is the starting address of the service routine called by the code above? C. If the symbol table shows LOOP is address 0x0003_5850, what is the return address from the service routine? D. What is the machine code for the instruction the service routine uses to return to the code above? Enter the addresses and the machine code as 8-digit hex values in RV32I format like the following: 0x0000_01F3