mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-04-13 23:45:05 +00:00
as21.s still had some cruft on the end. We can now assemble most of the
source. C files are out, they need a later language than the last1120c compiler. We are missing some files for bas. The dc and form source uses "new" instructions like mul and ashc, which the existing V1 "as" binary does not understand, but the assembler in source code here does understand, so these may still be assembled.
This commit is contained in:
@@ -181,14 +181,3 @@ setbrk:
|
||||
1:
|
||||
mov (sp)+,r1
|
||||
rts pc
|
||||
|
||||
|
||||
mov a.tmp1,0f
|
||||
sys unlink; 0:..
|
||||
mov a.tmp2,0f
|
||||
sys unlink; 0:..
|
||||
mov a.tmp3,0f
|
||||
sys unlink; 0:..
|
||||
sys chmod; a.out; outmod: 37
|
||||
sys exit
|
||||
|
||||
|
||||
16
src/cmd/mak
16
src/cmd/mak
@@ -15,9 +15,15 @@ echo init.s; as init.s; mv a.out init
|
||||
echo ln.s; as ln.s; mv a.out ln
|
||||
echo login.s; as login.s; mv a.out login
|
||||
echo ls.s; as ls.s; mv a.out ls
|
||||
echo as1: as as1?.s; mv a.out as1
|
||||
#echo as2: as as2?.s; mv a.out as2
|
||||
#echo bas; as bas?.s; mv a.out bas
|
||||
echo db; as db?.s; mv a.out db
|
||||
#echo dc; as dc?.s; mv a.out dc
|
||||
#echo form; as form?.s; mv a.out form
|
||||
echo ld; as ld?.s; mv a.out ld
|
||||
echo as1; as as1?.s; mv a.out as1
|
||||
echo as2; as as2?.s; mv a.out as2
|
||||
|
||||
echo Not bas, missing source files
|
||||
echo Not dc, uses the mul instruction
|
||||
echo Not form, uses the ashc instruction
|
||||
|
||||
echo You can rm ':' acct ar cat chmod chown
|
||||
echo You can rm cmp date df dsw dusg fstrip getty
|
||||
echo You can rm init ln login ls as1 as2 db ld
|
||||
|
||||
Reference in New Issue
Block a user