https://github.com/rainaarya/assembler_simulator
Custom Assembler & Simulator for a given Instruction Set Architecture (Simple RISC) using Python for the Computer Organization Course Project.
https://github.com/rainaarya/assembler_simulator
Last synced: 3 months ago
JSON representation
Custom Assembler & Simulator for a given Instruction Set Architecture (Simple RISC) using Python for the Computer Organization Course Project.
- Host: GitHub
- URL: https://github.com/rainaarya/assembler_simulator
- Owner: rainaarya
- Created: 2021-08-13T20:06:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-30T16:29:09.000Z (almost 4 years ago)
- Last Synced: 2025-01-28T14:44:27.588Z (4 months ago)
- Language: Python
- Homepage:
- Size: 160 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CO M21 Assignment
Starter repository for Computer Organization, Monsoon 2021 semester, assignment at IIITD## Adding code
* Add the assembler code in the `Simple-Assembler` directory. Add the commands to execute the assembler in `Simple-Assembler/run`.
* Add the simulator code in the `SimpleSimulator` directory. Add the commands to execute the assembler in `SimpleSimulator/run`.
* Make sure that both the assembler and the simulator read from `stdin`.
* Make sure that both the assembler and the simulator write to `stdout`.## How to evaluate
* Go to the `automatedTesting` directory and execute the `run` file with appropiate options passed as arguments.
* Options available for automated testing:
1. `--verbose`: Prints verbose output
2. `--no-asm`: Does not evaluate the assembler
3. `--no-sim`: Does not evaluate the simulator