Question: Provide all 3 files mentioned at the bottom. Problem 5: Python programming -disassembler Write a python program which disassembles (translates back) the MIPS machine code
Provide all 3 files mentioned at the bottom.
Problem 5: Python programming -disassembler Write a python program which disassembles (translates back") the MIPS machine code (in hex) 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, sw For example, an input file containing the hex code on the left should be translated by your python code into the output file containing the asm code on the right. 0x21080005 0x20092010 0xad28000c 0x00085020 0x0140602a addi $8, $8, 0x0005 addi $9, 0, 0x2010 sw $8, 0x000c ($9) add $10, $0, $8 slt $12, $10, $o Attach: 1) your code, 2) screenshots of your program demonstrating its functionality, and 3) your showcase of input and output files
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
