/assembler-simulator

A simulator of 8-bit CPU using the "Samphire" Microprocessor Simulator instruction set.

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Assembler Simulator

GitHub tag (latest SemVer) GitHub Workflow Status (branch) libera manifesto

A simulator of 8-bit CPU using the "Samphire" Microprocessor Simulator instruction set (similar to the Intel 8086 chip). "Samphire" is used for teaching CS1111 Systems Organisation at University College Cork, but it is restricted to Windows.

This project aims to recreate as much of the "Samphire" application as possible and provide a better learning experience using modern front-end web technologies:

You can try it online here.

Features

  • 8-bit CPU with 4 general purpose registers
  • 256 bytes of RAM
  • Procedures / Subroutines
  • Software and hardware interrupts
  • Input from keyboard
  • Output devices:
    • Memory mapped Visual Display Unit
    • Traffic lights
    • Seven-segment display
    • (More to come)
  • Breakpoints and step-by-step execution
  • Editor with syntax highlighting

Inspired by

License

GPL-3.0 License © 2022 Exuanbo