Skip to content

vaguilar/js-y86

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-y86

js-y86 is an assembler and simulator written in Javascript.

To use on a webpage, include y86.js first then the rest of the .js files. ASSEMBLE takes a string of y86 assembly code and produces another string formatted as a .yo file. This string can be passed to toByteArray() to create a byte array which can be passed to EXECUTE to have it run.

On node.js, to assemble a .ys file, run:

node y86.js -a source.ys

To execute, run:

node y86.js -e object.yo

License

This project is licensed under the terms of the MIT license.

About

y86 simulator and assembler written in Javascript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published