new assembler producing .o files
This commit is contained in:
parent
4f94fb9ea0
commit
93c2a95860
1 changed files with 11 additions and 7 deletions
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue