3.5. The Functions of a Symbolic Assembler

Symbolic assembler programs translate assembly language source files line by line into corresponding binary machine language. During translation, the assembler performs the following functions:

  1. It builds one or more internal symbol tables that contain the values of all user-defined labels and other symbols.

  2. It maintains location counters to determine where the next instruction or data item will be placed in memory.

  3. It translates the symbolic instruction opcodes and operand specifiers into binary machine code, producing an object file.

  4. It may produce a listing file showing the instructions and data and how these were translated and assigned to unique memory locations.

We look next at the elements and mechanisms ...

Get Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles 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.