Created a basic binary format to help guide the disassembler.
This commit is contained in:
+5
-3
@@ -1,7 +1,7 @@
|
||||
;.org 0x100
|
||||
;.db msg "Hello, world!", 0
|
||||
.db msg "Hello, world!", 0
|
||||
;.db more_stuff "AA", 0
|
||||
copy r7, 45 ; //
|
||||
copy r7, msg ; //
|
||||
cmp r8, 45 ;1000 1111
|
||||
add r4, 30
|
||||
sub r1, 69
|
||||
@@ -17,4 +17,6 @@ jz 45
|
||||
;mov r1, 5 ; move the immediate value 5 into r1
|
||||
;add r1,5 ; add 5 into r1
|
||||
;int 21 ; maybe that will call some string drawing BIOS-like routine
|
||||
;ret
|
||||
;ret
|
||||
; 4 byte header
|
||||
; | Address of First Opcode (2 bytes) | End of Binary (2 bytes) |
|
||||
Reference in New Issue
Block a user