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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user