Got the start of encoding opcodes.

This commit is contained in:
2022-08-26 18:27:41 +00:00
parent 0d060248cb
commit eb5e2c506e
5 changed files with 66 additions and 19 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
.org 0x100
.db msg "Hello, world!", 0
.db more_stuff "And yet another string!", 0
.db more_stuff "AAAA", 0
copy r1, msg
copy r2, 0
copy r1, more_stuff ;//B0 = 10110000
copy more_stuff, 45
loop:
cmp r1, 0
jz loop