Skip to content

Course Project for Computer Organisation (CSE112) at IIITD, Winter'23

Notifications You must be signed in to change notification settings

rahisenpai/risc-assembler-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Course Project for Computer Organisation (CSE112) at IIITD, Winter'23

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published