Saturday, 25 May 2013

Assembler



Assembler is used to convert assembly language into machine code.

It translates mnemonic operation code to their machine language equivalents.

Assigning machine address to symbolic labels.





It can also process assembler directives.
Assembler directives provides introduction to the assembler itself. They are not translated into machine instructions

e.g: START : name and starting of string address for program.
     
       END : end of the source program and specify first executable instruction in the program.


Working of Assembler

  • Programmer writes a program using sequence of assembly instructions.
  • This sequence of assembly instructions, known as the source code/source program, then specified to the assembler program when that program is started.
  • It translates a source code into machine language.
  • The output of the assembler program is called the object program or object code.

No comments:

Post a Comment