Ownfos / Computer-System

Custom assembly instruction simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Computer-System

  • Custom assembly instruction simulator
  • Created with Visual Studio 2019 version 16.5.3, Waffle, and ImGui Main Window

Dependencies:

Description

  • This project allows you to create custom assembly instruction and simulate executing it
  • By default, five instructions (Move, Jump, Add, Load, Store) are implemented in main.cpp as example
  • If you wish to add your own instruction, inherit either UnaryInstruction or BinaryInstruction.
    Of course, inheriting Instruction (the base virtual class) and implementing everything manually is also valid choice Single Operand Instruction Double Operand Instruction
  • After implementing your instruction class, all you have to do is change the initial memory content
    or provide a prototype in main function
    Main Function
  • After executing the program, you can dynamically change the content of memory or registers by right-clicking over them. Popup menu will allow you to set either a value or an instruction. Main Function
  • Press spacebar to execute next instruction (which is shown in yellow text)

About

Custom assembly instruction simulator


Languages

Language:C++ 99.3%Language:C 0.7%