You are on page 1of 1

What are the basic functions of an assembler?

in simple way u can say assembler converts the assembly language into machine language. the main function of an assembler is assign addresses to labels. --------------Basic Assembler Functions Convert mnemonic operation codes to machine language equivalents Convert symbolic operands to machine addresses (pass 1) Build machine instructions Convert data constants to internal representations Write the object program and assembly listing files

---------------------The assembler program, also referred to as the assembler, processes the machine, assembler, and macro instructions you have coded (source statements) in the assembler language, and produces an object module in machine language. Processing involves the translation of source statements into machine language, assignment of storage locations to instructions and other elements of the program, and performance of auxiliary assembler functions you have designated. The output of the assembler program is the object program, a machine language translation of the source program. The assembler produces a printed listing of the source statements and object program statements and additional information, such as error messages, that are useful in analyzing the program. The object program is in the format required by the linker. BASIC ASSEMBLER FUNCTIONS Fundamental functions of an assembler: Translating mnemonic operation codes to their machine language equivalents. Assigning machine addresses to symbolic labels used by the programmer

You might also like