Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!nuug!ifi!oystein From: oystein@ifi.uio.no (ystein Carl Emil Hebnes) Newsgroups: comp.sys.acorn Subject: Re: Assemblers Keywords: available assembler packages Message-ID: <1991Feb5.153734.11960@ifi.uio.no> Date: 5 Feb 91 15:37:34 GMT References: <91.035.12:23:09@ira.uka.de> Sender: oystein@ifi.uio.no (\ystein Carl Emil Hebnes) Reply-To: oystein@ifi.uio.no (\ystein Carl Emil Hebnes) Organization: Dept. of Informatics, University of Oslo, Norway Lines: 15 Nntp-Posting-Host: glapsvinn.ifi.uio.no Originator: oystein@glapsvinn.ifi.uio.no I'm using the Wingpass macro assembler. It produces good AOF code and interfces perfectly with ANSI-C (if that's what you want). You can even #include header files and use #define'd values and calculate offsets in structs, etc. I bought it through Archive magazine in England for under 50 pounds, and that's quite a bit less than the ~195 pounds Acorns assembler retails for. You can generate modules with it if you apply a fix described in the documentation. I don't think you can link object code with that produced by Acorn compilers other that ANSI-C, because they don't follow the Acorn Procedure Call Standard (APCS) yet, or so I've heard. And there's one more thing to look out for: If you want to link assembly and C code and you have release 3 of the compiler, you may have to edit one of the files on the assembler disc, called "regs" or "regdefs", I think. That file contains definitions of constant names for register numbers, i.e. pc = r15. These register bindings were changed in the latest version of the APCS and the version on my Wingpass disc is the old one. The C manual lists the bindings for both the old and the new version. Hope this may help you a bit. _/ _ | _ . _ | "There are no problems, only 8 ft thick, 20 ft high, //\ \/ |_ -|- |_| | |/ || reinforced concrete walls (i.e. challenges!) /_/ / \_| |_ |_ | | || The solution? Nuke'em or dig under them (i.e. use a ________________________| Cray or apply a bit of lateral thinking.)"