Question: Simulator of transfer between assembly language and machine language In this project, you will write a Python program simulator _ xxxxxxx . py , where
Simulator of transfer between assembly language and machine language
In this project, you will write a Python program simulatorxxxxxxxpy where xxxxxxx is your CSU ID to implement the language transfer between the assembly code and the machine code in hexadecimal format hex characters You use the command line argument a to specify that the input is an assembly code and m to specify that the input is a machine code. Following the methodology mentioned in the class, your simulator should be able to finish the following TWO
TASKS: transferring one assembly code to its corresponding machine code, transferring one machine code to its corresponding assembly code. You can do the selfcheck by swapping the input and output.
Please answer thoroughly with all the proper code. Including the simulator facilitates the bidirectional conversion between MIPS assembly code and machine code, supporting instructions such as add, addi, sub, sll srl lw and sw
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
