Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eatonphil/x86e
A simple x86 emulator, debugger, and editor in JavaScript.
https://github.com/eatonphil/x86e
amd64 assembly emulator javascript linux x86 x86-64
Last synced: 9 days ago
JSON representation
A simple x86 emulator, debugger, and editor in JavaScript.
- Host: GitHub
- URL: https://github.com/eatonphil/x86e
- Owner: eatonphil
- Created: 2019-04-20T00:59:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T20:16:21.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T04:13:05.231Z (24 days ago)
- Topics: amd64, assembly, emulator, javascript, linux, x86, x86-64
- Language: JavaScript
- Homepage: http://notes.eatonphil.com/emulator-basics-a-stack-and-register-machine.html
- Size: 3.02 MB
- Stars: 103
- Watchers: 11
- Forks: 8
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# x86e
A simple x86 emulator, debugger, and editor in JavaScript.
![Alt text](/screenshot.png?raw=true "Screenshot")
### Example using the browser
```bash
$ yarn
$ yarn build &
$ open localhost:1234
```### Example using Node.js
```bash
$ 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
```