I've changed the assembler so that it groks the <ab> string literal

syntax. I think it's OK, but it probably needs more testing.
write_test.s was changed to exercise the string parsing.
This commit is contained in:
Warren Toomey
2016-02-26 07:35:36 +10:00
parent 018af6f43e
commit c84b2dffdd
2 changed files with 30 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ in: 023
out: 0
" Hello, world\n, two ASCII chars per word
hello: 0110145; 0154154; 0157054; 040; 0167157; 0162154; 0144012
hello: <He>; <l 0154; 0157 ,>; 040; <wo>; <rl>; <d 012
helloptr: hello
" fred as a string, NUL terminated