Question: Write a python program which disassembles (translates back) the MIPS machine code into assembly instructions. The python program should read in a text file containing
Write a python program which disassembles ("translates back") the MIPS machine code into assembly instructions. The python program should read in a text file containing MIPS machine code, and should output another text file containing each instruction in assembly language.
Your program should support at least the following instructions: add, slt, addi, lw.
Attach: 1) your code, 2) a screenshot of its runtime output demonstrating its functionality, and 3) the input and output files you should design the input file to demonstrate the programs functionality.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
