Opcoder: Mips Opcode to Hex Converter
Here is a list of acceptable opcodes
- add
- addu
- and
- break
- div
- divu
- jalr
- jr
- mfhi
- mflo
- mthi
- mtlo
- mult
- multu
- nor
- or
- sll
- sllv
- slt
- sltu
- sra
- srav
- bgtz
- blez
- bltz
- bne
- lb
- lbu
- lh
- lhu
- lui
- lw
- ori
- sb
- slti
- sltiu
- sh
- sw
- xori
- jal
- j
- nop
Example of Syntax
lui t0, $08e6lh t0, $2bc4(t0)
lui t1, $08e5
lw t2, $5658(t0)
addiu t3, zero, $0040
addiu t4, zero, $0006
bne t3, t0, $jr ra
nop
sw t4, $0420(t2)
jr ra