目录 ← 首页
CS61C

Summary

And in Conclusion\dots

For your reference the tables below show the conditional branching instructions which can also be found on the 61C reference card.

The below are abbreviations that will be used in the table:

  • rs1: Argument register 1
  • rs2: Argument register 2
  • rd: Destination register
  • imm: Immediate value (integer literal constant)
  • R[register]: Value contained in register
  • inst: One of the instructions in the table
Reprint of the RV32I branch instruction reference table with B-type opcode, funct3 comparisons, and PC-relative branch semantics from the branches section.

Branch Instructions (reprint of #tab-rv-branch from this section).

Textbook Readings

P&H 2.6, 2.7, 3.2

Additional References

See the RISC-V manual links on our RISC-V green card page.