Page 1 of 1

Translate the following instructions from RISC-V to hexadecimal. Note that we use integer values for branches and jumps,

Posted: Tue Jul 12, 2022 8:15 am
by answerhappygod
Translate The Following Instructions From Risc V To Hexadecimal Note That We Use Integer Values For Branches And Jumps 1
Translate The Following Instructions From Risc V To Hexadecimal Note That We Use Integer Values For Branches And Jumps 1 (36.62 KiB) Viewed 39 times
Translate the following instructions from RISC-V to hexadecimal. Note that we use integer values for branches and jumps, instead of labels (this is permitted by the ISA, but normally discouraged since it makes debugging incredibly hard). Q1.1: blt t4 a7 74 Ox Q1.2: sltiu to t5 96 Ox Q1.3: auipc t4 96 Ox ?
Translate the following instructions from hexadecimal to RISC-V. Follow these conventions when writing your answer: Do not include commas in your answer. For immediates, submit a number in decimal. We have guaranteed that all immediates have absolute value 100 or less. As with the above, use integer values for branches and jumps. Use the register names (s0, a4, etc.) for all registers except register x0 (which should use x0). Q2.1: 0x405c0233 Q2.2: 0xFE9FFE6F Q2.3: 0xFB0A2DA3