Appendix B

Assemblers and Macro Processors

Assembly language is almost at the bottom of hierarchy of computer programming languages. It is specific to a particular family of processor, tedious to use, error-prone, but is still used for those pieces of software which requires full access to all the peculiarities of a processor. It is required to be used to implement CPU-specific functions in operating systems.

Assembly language is also used during a later step in a HLL compiler, specially to handle memory allocation function. Thus, an assembler is one of the phases of a typical compiler.

A very rudimentary version of assembly language is mnemonic machine language, where the op-codes of the processor are writable as mnemonics, rather than bit-patterns. ...

Get Compilers: Principles and Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.