Re: Is Assembler Language essential in compiler construction?

Louis Krupp <lkrupp@pssw.com>
Wed, 11 Feb 2009 12:58:34 -0700

          From comp.compilers

Related articles
[5 earlier articles]
Re: Is Assembler Language essential in compiler construction? walter@bytecraft.com (Walter Banks) (2009-02-11)
Re: Is Assembler Language essential in compiler construction? haberg_20080406@math.su.se (Hans Aberg) (2009-02-11)
Re: Is Assembler Language essential in compiler construction? torbenm@pc-003.diku.dk (2009-02-11)
Re: Is Assembler Language essential in compiler construction? anton@mips.complang.tuwien.ac.at (2009-02-11)
Re: Is Assembler Language essential in compiler construction? anton@mips.complang.tuwien.ac.at (2009-02-11)
Re: Is Assembler Language essential in compiler construction? cfc@shell01.TheWorld.com (Chris F Clark) (2009-02-11)
Re: Is Assembler Language essential in compiler construction? lkrupp@pssw.com (Louis Krupp) (2009-02-11)
Re: Is Assembler Language essential in compiler construction? cr88192@hotmail.com (cr88192) (2009-02-12)
Re: Is Assembler Language essential in compiler construction? marcov@stack.nl (Marco van de Voort) (2009-02-13)
Re: Is Assembler Language essential in compiler construction? tony@my.net (Tony) (2009-02-14)
Re: Is Assembler Language essential in compiler construction? walter@bytecraft.com (Walter Banks) (2009-02-14)
Re: Is Assembler Language essential in compiler construction? anton@mips.complang.tuwien.ac.at (2009-02-14)
Re: Is Assembler Language essential in compiler construction? ArarghMail902@Arargh.com (2009-02-14)
[7 later articles]
| List of all articles for this month |

From: Louis Krupp <lkrupp@pssw.com>
Newsgroups: comp.compilers
Date: Wed, 11 Feb 2009 12:58:34 -0700
Organization: Compilers Central
References: 09-02-021
Keywords: assembler, practice
Posted-Date: 11 Feb 2009 17:27:43 EST

marco.m.petersen@gmail.com wrote:
> Is Assembler Language essential in compiler construction? I've read a
> few e-Books on compiler construction and it always says that knowledge
> of assembly is essential.
>
> I mean, if you wrote a program that converts code from BASIC to C++
> then calls another compiler to do the compilation process, wouldn't
> that be considered as a compiler?


> [You certainly need to understand the target language of your compiler.
> Perhaps they weren't anticipating translators that target high level
> languages. -John]


The Unisys MCP Series architecture is an edge case; it doesn't have an
assembler, and the compilers generate object files. It's a stack-based
architecture with some complex instructions tailored to high-level
languages, mostly ALGOL and COBOL. At least a couple of instructions
are designed to make the operating system faster (e.g., the linked list
lookup used in dynamic memory allocation is implemented by a single
instruction).


Louis



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.