Both the assembler and the disassembler should now support all the instructions I've layed out thus far.
This commit is contained in:
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user