Skip to content

Assembly Virtual Machine Emulator implemented in C++

License

Notifications You must be signed in to change notification settings

CSopiko/ASMulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASMulator

Overview

Assembly Virtual Machine Emulator written in C++ for a Programming Paradigms course (CS107) bonus assignment.
Emulates a subset of simplified assembly instruction set of a typical Reduced Instruction Set Computer (RISC) processor.
The syntax of this assembly language is designed to make it easier to read and write, but the basic functionality is quite similar to any current RISC instruction set.

Usage

Clone repository

git clone https://github.com/CSopiko/ASMulator.git

Run program

./asm

Compile and Run program

g++ ASMulator.cpp
./a.out

View

Supported Assembly Instructions

  • Load/Store
    Moves bytes back and forth between registers and memory
  • ALU
    Operates on the registers
  • Branch/Jump
    Alters which instruction is executed next

License

MIT

About

Assembly Virtual Machine Emulator implemented in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages