Instruction formats: R-type, I-type | |||||||||||||
R-type: register | |||||||||||||
addu $r10,$r8,$r9 # add 2 numbers | |||||||||||||
![]() |
![]() |
||||||||||||
000000 | 01000 | 01001 | 01010 | 00000 | 100001 | ||||||||
b31-26 | b25-21 | b20-16 | b15-11 | b10-6 | b5-0 | ||||||||
opcode | $rs | $rt | $rd | shamt | function | ||||||||
3 registers: 2 source, 1 destination | |||||||||||||
operation: opcode and function | |||||||||||||