Skip to content

Commit

Permalink
as21.s still had some cruft on the end. We can now assemble most of the
Browse files Browse the repository at this point in the history
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.


git-svn-id: http://unix-jun72.googlecode.com/svn/trunk@241 44b2186c-a14b-0410-8c95-595313601b93
  • Loading branch information
warren.toomey committed May 15, 2008
1 parent 156a08a commit 5384f40
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
11 changes: 0 additions & 11 deletions src/cmd/as21.s
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 11 additions & 5 deletions src/cmd/mak
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5384f40

Please sign in to comment.