First stage of splitting up a source line complete. Next is tokenizing the list of string being generated.

This commit is contained in:
2021-12-30 15:21:09 -06:00
parent 4be3a4a7ea
commit 08acc6af22
5 changed files with 46 additions and 60 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
; comments are ignored
; This is a very simple test file for an assemblier.
mov r1, 5 ; move the immediate value 5 into r1
add r1, 5 ; add 5 into r1
add r1,5 ; add 5 into r1
int 21 ; maybe that will call some string drawing BIOS-like routine
ret ; return from 'call' if there were such a thing
ret