Instruction formats | ||||||||||
3 instruction formats: all 32 bits | ||||||||||
R-type: register | ||||||||||
arithmetic and logical | ||||||||||
I-type: immediate | ||||||||||
use constant in instruction | ||||||||||
arithmetic, logical, conditional branch | ||||||||||
J-type: jump | ||||||||||
unconditional branch | ||||||||||
Design principle #3: "Good design demands good compromises." | ||||||||||
Size of instruction vs. number of formats | ||||||||||