CS450 Compiler Design
37
Assemblers versus Compilers
Q: What is the difference between a compiler and an assembler?
Assembler:
•very direct mapping (almost 1 to 1 mapping) from the source language onto the target language.
Compiler:
•more complex “conceptual” mapping from a HL language to a LL language. 1 construct in the HL language => many instructions in the LL language