aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--program.asm6
2 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9eba237..e3ffea8 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,8 @@ cargo run -- --f <filename.asc>
```
## Todo
-- [x] Assembler
+- [ ] Assembler
- [x] Lexer/Tokenizer
+ - [ ] Add label support (supporting JMP/JZ/JNZ)
- [ ] Error handling
- [ ] Build Debugger
diff --git a/program.asm b/program.asm
index 09ecba8..74bebdd 100644
--- a/program.asm
+++ b/program.asm
@@ -1,4 +1,10 @@
+; add
mov a, 10
mov b, 5
add a, b
+
+; sub
+mov a, 15
+mov b, 15
+sub a, b
hlt