Browse Source

new assembler producing .o files

ceriel 37 years ago
parent
commit
a46973cfa7
1 changed files with 11 additions and 7 deletions
  1. 11 7
      lib/6805/descr

+ 11 - 7
lib/6805/descr

@@ -1,6 +1,5 @@
 # $Revision$
 var w=2
-var i=2
 var p=2
 var s=2
 var l=4
@@ -11,14 +10,19 @@ var M=6805
 var LIB=lib/{M}/tail_
 var RT=lib/{M}/head_
 var INCLUDES=-I{EM}/include -I/usr/include
-name asld
-	from .s.a
-	to .out
-	outfile a.out
+name as
+	from .s.so
+	to .o
 	program {EM}/lib/{M}/as
+	args - -o > <
+	prep cond
+end
+name led
+	from .o.a
+	to .out
+	program {EM}/lib/em_led
 	mapflag -l* LNAME={EM}/{LIB}*
-	mapflag -d* ASFL={ASFL?} -d*
-	args {ASFL?} (.e:{HEAD}={EM}/{RT}em) \
+	args (.e:{HEAD}={EM}/{RT}em) \
 		({RTS}:.b.c={EM}/{RT}cc) ({RTS}:.p={EM}/{RT}pc) -o > < \
 		(.p:{TAIL}={EM}/{LIB}pc) \
 		(.b:{TAIL}={EM}/{LIB}bc) \