Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

ihmels/asmsimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple 16-bit Assembler Simulator in JavaScript

A simulator which provides a simplified assembler syntax (based on NASM) and is simulating a x86 like CPU. Click on “Instruction Set” inside the simulator to see an overview of the supported instructions.

Try it!

Features

  • 16-bit CPU
  • 4 general purpose registers
  • 1024 bytes of memory
  • Console output

How to build

Make sure you have Node.js, npm and Gulp installed. Install dependencies by running npm install. Then run gulp to build the project. The build will be located in the public/ directory.

How to test

Tests can be run by executing gulp test.