This is an app for Assemble and Disassemble in mips.
This program can detect R-type, I-type and J-type or giving it a mips command and gives to you 32bit binary in each format if types:
sll $t0 $s0 2
0x00104080
R-Type
op: 000000
rs: 00000
rt: 10000
rd: 01000
shamt: 00010
funct: 000000
lw $t0 0x0060 $t2
0x8D480060
I-Type
op: 100011
rs: 01010
rt: 01000
constant or address: 0000000001100000
j 0x1000
0x08001000
J-Type
op: 000010
address: 00000000000001000000000000
0x02C84020
add $t0, $s0, 2
R-Type
op: 000000
rs: 10110
rt: 01000
rd: 01000
shamt: 00000
funct: 100000
0x8D480060
lw $t0, 0x0060, $t2
I-Type
op: 100011
rs: 01010
rt: 01000
constant or address: 0000000001100000
0x08001000
j 0x1000
J-Type
op: 000010
address: 00000000000001000000000000