This feels like a trainwreck but eh. Changed the way the opcodes are managed. Hopefully this is the right direction when I add support for multiple ASM files.
This commit is contained in:
+3
-3
@@ -2,9 +2,9 @@
|
||||
.db msg "Hello, world!", 0
|
||||
.db more_stuff "AA", 0
|
||||
copy r7, msg ; //
|
||||
cmp r8, msg ;1000 1111
|
||||
add r4, 0x42
|
||||
sub r1, r8
|
||||
;cmp r8, msg ;1000 1111
|
||||
;add r4, 0x42
|
||||
;sub r1, r8
|
||||
int 20
|
||||
jz 45
|
||||
jmp msg
|
||||
|
||||
Reference in New Issue
Block a user