Module 4 Assignment – A Python Disassembler
A disassembler takes a machine code file (binary) and converts it back into assembly code.
Disassemblers are a key tool in the software reverse engineering process because it allows you
to go from the raw binary all the way back to the original source code, if desired.
For this assignment, you will be given 8 32-bit binary strings and the type of the instruction (I-type,
R-type, or J-type). You’ll write a basic disassembler in Python that splits the 32-bit string into its
corresponding fields, converts them from binary into their string representation, then reorders the
fields, resulting in the original assembly code instruction.