Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.18 KB

README.md

File metadata and controls

20 lines (16 loc) · 1.18 KB

SimpleRISC Assembler and Simulator

Starter repository for the course CSE112 - Computer Organisation (Winter 2023), IIIT Delhi.
Here's an assembler and a simulator based on SimpleRISC ISA implemented in Python, along with automated testing routines.

Instructions

The assembler code is in Simple-Assembler/assembler.py.
The simulator code is in SimpleSimulator/simulator.py.
The assembler and simulator reads from stdin and writes to stdout.

To evaluate, go to the automatedTesting directory in your Linux terminal and execute ./run with none or appropriate arguments:
--no-sim: to only evaluate assembler
--no-asm: to only evaluate simulator

(If you are interested, test2 and test3 in simulator hard tests have less memory dump than specified, i.e.128 and hence they are wrong (add the required lines of 0s to correct them), sort of booby traps.)

Collaborators

Aayush Mishra @alexaplsburp
Dhruv Prakash @14dhruv04
Himanshu Raj @rahi-senpai
Kirti Jain @kiwiikirtii