Trace the following RISC-V program in RARS. What value will…
Trace the following RISC-V program in RARS. What value will be stored in register s4 before the program exits? .text .globl main main: li s0, 9 li s1, 9 li s2, 18 li s3, 7 bne s0, s1, Else add s4, s2, s3 beq x0, x0, Exit Else: sub s4, s2, s3 Exit: li a7, 10 ecall
Read Details