Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riyasach189/assembler-simulator-co-project-2023
Our semester project for the course CSE112 2023 at IIIT Delhi.
https://github.com/riyasach189/assembler-simulator-co-project-2023
assembler assembly-language python3 simulator
Last synced: about 5 hours ago
JSON representation
Our semester project for the course CSE112 2023 at IIIT Delhi.
- Host: GitHub
- URL: https://github.com/riyasach189/assembler-simulator-co-project-2023
- Owner: riyasach189
- Created: 2023-06-15T04:44:53.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-06-19T10:04:05.000Z (over 1 year ago)
- Last Synced: 2025-01-10T08:57:33.224Z (about 5 hours ago)
- Topics: assembler, assembly-language, python3, simulator
- Language: Python
- Homepage:
- Size: 307 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CSE112 - Semester Project Winter 2023
CSE112 - Computer OrganisationObjective: To create a basic assembler and simulator
Language: Python
# Collaborators
Prashi Jain [@ded-avishi](https://www.github.com/ded-avishi)Surat Sathi Samanta [@surat-ss](https://www.github.com/surat-ss)
Riya Sachdeva [@riyasach189](https://www.github.com/riyasach189)
Tanish Verma [@VerTanish](https://www.github.com/vertanish)
# Automation
The final assembler is `final_assembler.py`
Errors thrown are 1-indexed while line addresses of labels and variables are 0-indexed
If label is not followed by an instruction, we are ignoring it and not throwing an error
In case a file has multiple errors, we are storing them in a text file in the same directory as the source code named `errors.txt`. It catches all errors in a single line too.
We are printing one of the errors on the terminal
# Float Arithmetic Details
Range of normal numbers - 0.25 to 15.75
Range of denormal numbers - 0.0078125 to 0.2421875
Exponent = 111 is considered infinity and overflow flag is set