Assembler, Computer Engineering

Assignment Help:

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

 


Related Discussions:- Assembler

Which address is specially used by transport layer, The addressing speciall...

The addressing specially used by Transport Layer is? The addressing particularly used through transport layer is application port address.

Determine maximum possible time of 4-bit synchronous counter, A 4-bit synch...

A 4-bit synchronous counter uses flip-flops with propagation delay times of 15 ns each.  The maximum possible time required for change of state will be ? Ans. 15 ns since in sy

Explain dataadapter control, Which method do you invoke on the DataAdapter ...

Which method do you invoke on the DataAdapter control to load  your generated dataset with data? dataAdapter.Fill(ds). The beauty of this method is  it automatically implicitly

Describe the analytical engine by babbage, THE ANALYTICAL ENGINE BY BABBAGE...

THE ANALYTICAL ENGINE BY BABBAGE: It was general use computing device that could be used for performing any types of mathematical operation automatically. It contains the follo

Illustration of disk formatting, Q. Illustration of disk formatting? An...

Q. Illustration of disk formatting? An illustration of disk formatting is displayed in Figure below. In this case every track comprises 30 fixed-length sectors of 600 bytes eac

Explain briefly the generic framework for e-commerce, Explain briefly the g...

Explain briefly the generic framework for e-commerce.  Generic framework of e-commerce contains the Applications of EC   (like as banking, shopping in online stores and malls,

Pre-os and runtime sub-os functionality, In a raw Itanium, a 'Processor Abs...

In a raw Itanium, a 'Processor Abstraction Layer' (PAL) is incorporated in system. When it's booted PAL is loaded in the CPU and provides a low-level interface which abstracts a nu

What controls the screen flow, What controls the screen flow? The SET ...

What controls the screen flow? The SET SCREEN and LEAVE SCREEN statements controls screen flow.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd