resume working; import awk-based assembler

This commit is contained in:
Nero 2023-01-01 19:04:31 +00:00
parent e48ae306ba
commit 77b1ad7cef
4 changed files with 451 additions and 55 deletions

4
host/as Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
outfile="$1"
infile="$2"
( awk -f host/asm.awk -v of=sym <"$infile"; cat "$infile") | awk -f host/asm.awk -v of=lst