I need to convert each of the following RISC-V instructions to machine code.
Format answer as 32-bit hexadecimal number, e.g. 0xABADCAFE or 0xabadcafe (the cafe just sucks). Leave any unused bits as 0.
Refer to this sheet if needed.
Q1. jal ra, fib
Assume PC=0x00400014, and fib is located at 0x00400028.
Q2. beq t3, t5, NEXT
Assume PC=0x0040011C, and NEXT is located at 0x0040010C.