Page 1 of 1

The I-format for MIPS instruction is as follows. op(6 bits) rs(5 bits) rt(5 bits) constant/address(16bits) If opcode f

Posted: Fri Jul 08, 2022 7:27 am
by answerhappygod
The I-format for MIPS instruction is as follows.
op(6 bits) rs(5bits) rt(5bits) constant/address(16bits)
If opcode for 'addi' is decimal 8 and $s1 = reg number 17, $s2 =reg number 18
what is the binary code for thefollowing instruction?
addi $s1, $s2, 31