Convert hexadecimal codes to readable MIPS instructions and vice versa, see hex2mips.py -h for more information
Can currently deal with the following instructions:
add, addu, sub, subu, and, or, nor, slt, sltu, sll, srl, mult, multu, div, divu, xor, jr, syscall, break, beq, bne, addi, addiu, andi, ori, slti, sltiu, lui, lw, sw, xori, lb, lbu, j, jal
Recognizes the current registers:
$zero, $at, $v0-$v1, $a0-$a3, $t0-$t7, $s0-$s7, $t8-$t9, $k0-$k1, $gp, $sp, $fp, $ra
v1.0: Initial-Relase
v2.0:
-Can now convert from MIPS instruction to hex
-Send hex or MIPS instruction through command line instead of getting text GUI
-See hex2mips.py -h
-Better error handeling / messages and input sanitization
-Hex letters outputted in uppercase letters
-General bug fixes
-More comments and diagram in header
v2.1
-Added if __name__ == "__main__":
-Refactor / Moved code into main
-Added Python Shebang
-Added --version and -v command line flag