/js-y86-64

y86-64 simulator and assembler written in Javascript.

Primary LanguageJavaScriptMIT LicenseMIT

js-y86-64

Preview of simulator

js-y86-64 is an assembler and simulator written in Javascript. It supports:

  • All of the original Y86-64 instructions plus cmovX
  • Breakpoints via brk
  • Step-by-step execution
  • Inspect the contents of the registers, flags, and memory after every instruction
  • Manually pause if you get stuck in an infinite loop
  • Syntax highlighting
  • See your (hopefully useful) compile errors as you type

See it in action or read the documentation on the Wiki.

This repo is forked from xsznix, which is built around vagulars assembler. This project extends both previous repos with support for Y86-64. Although most browsers don't support 64-bit integers, we make use of long.js in order to achive 64-bit (although it doesn't make your programs run faster, quite the contrary).

License

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