Assembler, Computer Engineering

Assembler:

Typically a modern assembler makes object code by translating assembly instruction into op codes, & by resolving symbolic names for memory locations and any other entities. The use of symbolic references is a crucial feature of assemblers, by saving tiring calculations and manual address updates after program modifications. Also most of the assemblers include macro facilities for performing textual substitution- for example, to produce common short sequences of instructions to run inline, rather of in a subroutine.

There are 2 types of assemblers based on how many passes through the source are required to generate the executable program. One-pass assemblers once go through the source code and suppose that all symbols will be defined before any instruction that references them. Two-pass assemblers (and multi-pass assemblers) first create a table with all unresolved symbols in the first pass and then use the 2nd pass to resolve these addresses. The benefit in one-pass assemblers is speed, which is not so much important as it once was with advances in computer speed and capabilities. The benefit of the two-pass assembler is that symbols may be defined anywhere in the program source. As a result, the program may be defined in a more logical and meaningful way. it makes two-pass assembler programs simpler to read and maintain.

Sophisticated high-level assemblers give language abstractions such as:

  •   Advanced control structures
  •   High-level procedure/function invocations and declarations
  •   High-level abstract data types, including, sets ,classes, unions and structures/records
  •   Sophisticated macro processing
  •   Object-Oriented features such as polymorphism ,encapsulation, interfaces inheritance

 

Posted Date: 10/13/2012 3:05:27 AM | Location : United States







Related Discussions:- Assembler, Assignment Help, Ask Question on Assembler, Get Answer, Expert's Help, Assembler Discussions

Write discussion on Assembler
Your posts are moderated
Related Questions
What is an imperative statement? Ans. Shows an action to be performed throughout execution of assembled program is an imperative statement.

The situation when both transmitter and receiver have to work in tandem is referred to as? The situation while both transmitter and receiver have to work into tandem is termed

Describe the Electronic Data Exchange (EDI) architecture in brief. Electronic Data Interchange (EDI) may be generally easy to understand as the replacement of paper-based purch

the counter shown Q2Q1Q0=000 The status of Q2Q1Q0 after the pulse

Q. Show Basic concepts of permutation? Let us look at the basic concepts of permutation with respect to interconnection network.  Let us say the network has set of n input node

Associative Array Processing Consider that a list of record or a table is stored in the memory and you want to search some information in that list. For example, the list havin

Which scheduling policy is most suitable for a time-shared operating system? Ans. Round-Robin scheduling policy is most appropriate for a time-shared operating system.

How can I pass parameters to my simulation? A  test  bench  and  simulation  would likely  need  many  different  parameters  and  settings  for  various sorts of tests and con

Which device consume minimum power ? Ans. Minimum power consume by CMOS as in its one p-MOS and one n-MOS transistors are connected in complimentary mode, so one device is ON a

ENCTYPE="application/x-www-form-urlencoded" and in its place use ENCTYPE="text/plain". The subsequent illustration displays a general form which includes some of the commo