new assembler producing .o files
This commit is contained in:
parent
3a2030f3b6
commit
32f1fc504c
1 changed files with 11 additions and 7 deletions
|
@ -1,6 +1,5 @@
|
||||||
# $Revision$
|
# $Revision$
|
||||||
var w=2
|
var w=2
|
||||||
var i=2
|
|
||||||
var p=2
|
var p=2
|
||||||
var s=2
|
var s=2
|
||||||
var l=4
|
var l=4
|
||||||
|
@ -11,14 +10,19 @@ var M=6800
|
||||||
var LIB=lib/{M}/tail_
|
var LIB=lib/{M}/tail_
|
||||||
var RT=lib/{M}/head_
|
var RT=lib/{M}/head_
|
||||||
var INCLUDES=-I{EM}/include -I/usr/include
|
var INCLUDES=-I{EM}/include -I/usr/include
|
||||||
name asld
|
name as
|
||||||
from .s.a
|
from .s.so
|
||||||
to .out
|
to .o
|
||||||
outfile a.out
|
|
||||||
program {EM}/lib/{M}/as
|
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 -l* LNAME={EM}/{LIB}*
|
||||||
mapflag -d* ASFL={ASFL?} -d*
|
args (.e:{HEAD}={EM}/{RT}em) \
|
||||||
args {ASFL?} (.e:{HEAD}={EM}/{RT}em) \
|
|
||||||
({RTS}:.b.c={EM}/{RT}cc) ({RTS}:.p={EM}/{RT}pc) -o > < \
|
({RTS}:.b.c={EM}/{RT}cc) ({RTS}:.p={EM}/{RT}pc) -o > < \
|
||||||
(.p:{TAIL}={EM}/{LIB}pc) \
|
(.p:{TAIL}={EM}/{LIB}pc) \
|
||||||
(.b:{TAIL}={EM}/{LIB}bc) \
|
(.b:{TAIL}={EM}/{LIB}bc) \
|
||||||
|
|
Loading…
Reference in a new issue