https://github.com/exuanbo/assembler-simulator
The Assembler Simulator is an 8-bit CPU simulation tool that utilizes the "Samphire" sms32v50 Microprocessor Simulator instruction set.
https://github.com/exuanbo/assembler-simulator
assembler assembler-simulator codemirror microprocessor-simulator react redux simulator
Last synced: 9 days ago
JSON representation
The Assembler Simulator is an 8-bit CPU simulation tool that utilizes the "Samphire" sms32v50 Microprocessor Simulator instruction set.
- Host: GitHub
- URL: https://github.com/exuanbo/assembler-simulator
- Owner: exuanbo
- License: gpl-3.0
- Created: 2020-11-12T12:08:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-28T19:31:57.000Z (6 months ago)
- Last Synced: 2025-05-12T05:42:00.293Z (13 days ago)
- Topics: assembler, assembler-simulator, codemirror, microprocessor-simulator, react, redux, simulator
- Language: TypeScript
- Homepage: http://exuanbo.xyz/assembler-simulator/
- Size: 10.6 MB
- Stars: 496
- Watchers: 7
- Forks: 27
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Assembler Simulator
[](https://github.com/exuanbo/assembler-simulator/tags)

[](https://liberamanifesto.com)The Assembler Simulator is an 8-bit CPU simulation tool that utilizes the "Samphire" sms32v50 [Microprocessor Simulator](https://nbest.co.uk/Softwareforeducation/sms32v50/sms32v50_manual/index.htm) instruction set, which is analogous to the Intel 8086 architecture. Originally, a native desktop application based on this instruction set was employed at University College Cork to facilitate the teaching of the CS1111 Systems Organisation module. However, it was limited to the Windows operating system.
Our project endeavors to replicate the functionality of the "Samphire" application as closely as possible, while enhancing the learning experience by leveraging state-of-the-art web technologies:
- [CodeMirror 6](https://codemirror.net/6/) for code editing with syntax highlighting
- [React](https://reactjs.org/) for building user interfaces
- [Redux](https://redux.js.org/) for state management
- [RxJS](https://rxjs.dev/) for reactive programming
- [Vite](https://vitejs.dev/) for fast development and build tooling
- [TypeScript](https://www.typescriptlang.org/) for static type checkingExperience the Assembler Simulator online [here](https://exuanbo.xyz/assembler-simulator/).
## Features
- An 8-bit CPU simulation with four general-purpose registers
- A memory model with 256 bytes of RAM
- Support for procedures and subroutines
- Implementation of software and hardware interrupts
- Keyboard input handling
- A suite of output devices, including:
- A memory-mapped Visual Display Unit
- Simulated traffic lights
- A seven-segment display
- Additional devices planned for future updates
- Debugging features like breakpoints and step-by-step execution
- An integrated editor equipped with syntax highlighting for a seamless coding experience## Acknowledgements
This project draws inspiration from and extends gratitude to the following works:
- [osslate/babassu](https://github.com/osslate/babassu) - A heartfelt thank you! 😀
- [Schweigi/assembler-simulator](https://github.com/Schweigi/assembler-simulator)
- [parraman/asm-simulator](https://github.com/parraman/asm-simulator)## License
[GPL-3.0 License](https://github.com/exuanbo/assembler-simulator/blob/main/LICENSE) © 2022-Present [Exuanbo](https://github.com/exuanbo)