My professor takes forever to answer emails, reasonably so since its Saturday, so I just wanted to ask here instead.
I read here that the funct code defines what the function being used is (add, sub, etc) and the opcode defines the format (R,I,J)...but then how does the I format know what funct to use if it doesn't have a funct part? It has opcode,rs,rt,immediate. I thought immediate would just be like a # like the addi, $t0, $s0, 1 for example.
Can anybody clarify what opcode and funct do exactly? I'm fairly new to Assembly.
Thanks.
functas an opcode extension when opcode is zero. In all other cases, opcode is enough by itself to define the operation. - Jester