starting work on assembler

This commit is contained in:
SpookyDervish
2025-12-21 09:44:16 +11:00
parent b1ff26bcbb
commit e92f097afe
16 changed files with 315 additions and 29 deletions

View File

@@ -8,7 +8,8 @@
But uhh that's the name of the VM itself, the name of the programming language I made is Sylt, named after the German island.
To compile for Linux: `gcc src/main.c src/vmbl.c src/exception.c src/asm/tokenize.c -o VMBL -O3`
To compile the VM for Linux: `gcc src/main.c src/vmbl.c src/exception.c src/file_utils.c -o vmbl -O3`
To compile SASM for Linux: `gcc src/asm/sasm.c src/asm/tokenize.c src/file_utils.c src/asm/assembler.c -o sasm -O3`
## Syntax
### Example "Hello, World!" Program