COA - uPower Simulator (Python file)
Demo Video for uPower simulator - https://youtu.be/dRMnVYZnjug
- Keerti Chaudhary (181CO226)
- Shreeraksha R Aithal (181CO149)
- Shreeya Sand (181CO150)
- Shumbul Arifa (181CO152)
Run the simulator file. Type the command 'help' to get assistance for various commands provided by the simulator. python simulator.py
- simulator.py - This file contains the program for simulator. This file invokes the rest of the files
- assembler.py - This file contains the program for assembler. It gets invoked by simulator.py
- instruction_to_execute.py - This file contains program to execute 32bit binary instruction
- code_to_instruction.py - This file contains program to convert the assembly-level uPower program to 32-bit binary instructions
- memory.b - This file acts as the static memory for the implemented simulator
- stack.b - This file acts as the stack memory for the implemented simulator
- instruction.b - This file stores the input assembly-level uPower program in the form of 32-bit binary instructions
- q1.asm - Program to print "Hello World"
- q2.asm - Program to add two constants
- q3.asm - Program add 10 two digit numbers
- q4.asm - Program to input an integer and display it
- q5.asm - Program to add two variables
- q6.asm - Program to find the maximum of an integer array