https://github.com/ninjamar/tixb
Toy Bytecode Interpreter
https://github.com/ninjamar/tixb
bytecode-interpreter cpp
Last synced: 4 months ago
JSON representation
Toy Bytecode Interpreter
- Host: GitHub
- URL: https://github.com/ninjamar/tixb
- Owner: ninjamar
- License: mit
- Created: 2021-12-04T04:07:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-08T07:01:04.000Z (over 3 years ago)
- Last Synced: 2025-01-20T20:40:22.096Z (5 months ago)
- Topics: bytecode-interpreter, cpp
- Language: C++
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TIXB
TIXB is a toy bytecode interpreter# Installation
```bash
git clone https://github.com/ninjamar/tixb
cd tixb
g++-11 src/cli.cpp -o tixb
```# Usage
Create a new binary file called `test.tixb` extension in a hex editor. Put `0001 0010 1064 0000 0002 0010 0000 0000` inside it. This is sets `rcx` to `100` and prints it. On the command line, run `./tixb test.tixb`. You should see 100 on the display.# Documentation
coming soon