/Computer-Architecture

Computer architecture and emulation

Primary LanguageJavaScript

Computer Architecture

Project

Task List: add this to the first comment of your Pull Request

Day 1: Get print8.ls8 running

  • Inventory what is here
  • Implement struct cpu in cpu.h
  • Add RAM functions
  • Implement the core of cpu_run()
  • Implement the HLT instruction handler
  • Add the LDI instruction
  • Add the PRN instruction

Day 2: Get mult.ls8 running, load files dynamically

  • Un-hardcode the machine code
  • Implement a Multiply and Print the Result (run mult8.ls8)
  • Beautify your cpu_run() function, if needed

Day 3: Get stack.ls8 running

  • Implement System Stack

Day 4: Get call.ls8 running

  • Implement Subroutine Calls

Stretch

  • Add the timer interrupt to the LS-8 emulator
  • Add the keyboard interrupt to the LS-8 emulator