Recap: b Instructions and Formats
OPCODE
rc
ra
rb
unused
6
5
5
5
11
Form 1:
OPCODE
rc
ra
literal C (signed)
6
5
5
16
Form 2:
ALU operations with two
source registers
ALU operations with one
source register and constant
Loads and stores
Branches and Jumps
ADD(ra, rb, rc)
SUB(ra, rb, rc)
ADDC(ra, const, rc)
LD(ra, C, rc)
ST(rc, C, ra)
BNE(ra, label, rc)
JMP(ra, rc)
Previous slide
Next slide
Back to first slide
View graphic version