Question: Use the RISC - V instructions below to create your assembly programs. Write legibly. Messy answers will lose points. Illegible answers are wrong. RISC -

Use the RISC-V instructions below to create your assembly programs. Write legibly. Messy answers will lose points. Illegible answers are wrong. RISC-V Instructions
Name
Add Immediate
Add
Branch on Equal Branch on not Equal Branch on Less Than Jump and Link Logical AND
Logical OR Logical XOR
Form
addi rd, rs1, imm add rd, rs1, rs2 beq rs1, rs2, label bne rs1, rs2, label blt rs1, rs2, label jal rd, label
and rd, rs1, rs2 or rd, rs1, rs2 xor rd, rs1, rs2
Description
rd = rs1+ imm
rd = rs1+ rs2
if rs1= rs2, goto label if rs1!= rs2, goto label if rs1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!