Skip to content
A simple x86 emulator, debugger, and editor in JavaScript.
Branch: master
Clone or download

README.md

x86e

A simple x86 emulator, debugger, and editor in JavaScript.

Alt text

Example using the browser

$ yarn
$ yarn build &
$ open localhost:1234

Example using Node.js

$ yarn
$ yarn build-cli
$ cat examples/plus.c
int plus(int a, int b) { return a + b; }

int main() { return plus(1, plus(2, 3)); }
$ gcc -S -masm=intel -o examples/plus.s examples/plus.c
$ node dist examples/plus.s
$ echo $?
6
You can’t perform that action at this time.