Minor code cleanup and added an extra flag to the compiler. If a symbol is a label it will now hold a reference to the opcode and by extension the offset into the file it points to.

This commit is contained in:
2023-07-06 19:39:03 -05:00
parent 3031fa8b9b
commit 9c8fe17c8f
6 changed files with 37 additions and 31 deletions
+2
View File
@@ -23,6 +23,8 @@ draw_loop:
_end:
jmp _end
.db NewMsg "My message", 0
; Returns the length of a NULL terminated string
; Arguments: R1 - Pointer to the string
; Returns: R2 - Contains the length of the string