Both the assembler and the disassembler should now support all the instructions I've layed out thus far.

This commit is contained in:
2022-08-29 18:51:48 +00:00
parent e3b4293314
commit 5f437b6869
6 changed files with 133 additions and 16 deletions
+6 -1
View File
@@ -1,12 +1,17 @@
;.org 0x100
.db msg "Hello, world!", 0
;.db more_stuff "AA", 0
.db more_stuff "AA", 0
copy r7, msg ; //
cmp r8, 45 ;1000 1111
add r4, 30
sub r1, 69
int 20
jz 45
jmp msg
in 10
call more_stuff
ret
yld
;copy r1, 45 ;//B0 = 10110000
;copy 2, 45