Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!olivea!mintaka!spdcc!iecc!compilers-sender From: mauney@eos.ncsu.edu (Dr. Jon Mauney) Newsgroups: comp.compilers Subject: Re: Writing cross-assembler Keywords: assembler, question Message-ID: <1990Nov16.085813@eos.ncsu.edu> Date: 16 Nov 90 14:04:26 GMT References: <21757@orstcs.CS.ORST.EDU> Sender: compilers-sender@iecc.cambridge.ma.us Reply-To: mauney@eos.ncsu.edu (Dr. Jon Mauney) Distribution: usa Organization: Digital Equipment Corporation Lines: 19 Approved: compilers@iecc.cambridge.ma.us In article <21757@orstcs.CS.ORST.EDU>, hamdyz@prism.cs.orst.edu (Zikif Hamdy) writes: |>I am looking for a good book on how to write an assembler. Peter Calingaert's "Program Translation Fundamentals" Computer Science Press, 1988 has a chapter on assemblers. ( it is also one of the few works I know of that discusses the tabu subject of linking and loading) |>[An assembler is just a simple-minded compiler. The issues are largely the |>same. -John] Although this is true in part, an assembler has to deal with some source- language constructs that are, thankfully, omitted in higher-level languages. [I suppose that assemblers also have to deal head-on with issues like assignment of binary memory addresses that many compilers punt to the assembler. -John] -- Send compilers articles to compilers@iecc.cambridge.ma.us or {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.