I am working on a problem that asks for the assembly language that would correspond to the following machine instruction in MIPS:
OX3062FF80
Here is what I’ve done:
step 1: convert to binary
0011 0000 0110 0010 1111 1111 1000 0000
opcode: 000000 <--- im not sure about this part ( I thought it should always be zero)
rs: 00011
rt: 00010
rd: 11111
shamt: 11110
funct: 000000
add $15, $3, $2
Is this correct? I am going off an example but I am not entirely sure if its correct. Any help, advice would be appreciated. Thank you.