Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!overload!dillon From: dillon@overload.Berkeley.CA.US (Matthew Dillon) Newsgroups: comp.sys.amiga.programmer Subject: Re: ARP and DICE - How to link?? Message-ID: Date: 7 Mar 91 17:44:23 GMT References: <1991Feb25.121623.16551@uni-paderborn.de> <1991Mar6.213253.27365@gpu.utcs.utoronto.ca> Organization: Not an Organization Lines: 36 In article <1991Mar6.213253.27365@gpu.utcs.utoronto.ca> bhgs@gpu.utcs.utoronto.ca (R. Holdom) writes: >right before the above line and everything was fine. I also took out >the stuff for making the choice between Near and Far memory models, >since we want the near one. I assembled the file using the Lattice >assembler from Lattice C 4.0.1, since Matt's is still somewhat >anemic(sp?). Then I just joined the two files, and everything is >fine. > > If anyone is interested, it probably wouldn't be too hard to >make a file that Matt's assembler could handle. So send me a note >and I'll try it. > > Jon Spencer. DAS is designed to assemble output from DC1 and not really to assemble user programs. It does not support INCLUDE directives or MACROs. DAS does support the near and far data models, however, and works similar to the way the new SAS/C assembler does it. Basically: xref _Fubar move.l _Fubar,D0 ; absolute (large-data) move.l _Fubar(A4),D0 ; a4-relative (small-data) And, of course, PC-relative too (all the 68000 addressing modes and most of the 020/030 addressing modes) -Matt -- Matthew Dillon dillon@Overload.Berkeley.CA.US 891 Regal Rd. uunet.uu.net!overload!dillon Berkeley, Ca. 94708 USA