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

Explain the product of sum form - standard forms, Explain the Product of Su...

Explain the Product of Sum Form - standard forms? The POS is the Boolean Expression containing OR terms, called as sum terms. The product denotes ANDing of these terms. F= (

Explain program interpretation process, Explain program interpretation pr...

Explain program interpretation process. In a program interpretation process , the interpreter reads the source program and stores this in its memory. This bridges an executi

Drawback of indirect addressing, Q. Drawback of indirect addressing? • ...

Q. Drawback of indirect addressing? • Drawback of this scheme is that it needs two memory references to fetch actual operand. First memory reference is to fetch the actual addr

Illustration what is the cause of brownian motion, Q. Illustration what is ...

Q. Illustration what is the cause of Brownian motion? Answer:- Molecules in a gas move freely, randomly, constantly in all directions and at high speeds. They are capable

Explain the potential role of information technology, Question 1: Descr...

Question 1: Describe the five maturity levels of KM that an organization faces when adopting the Frid's KM framework. Question 2: (a) Describe three major issues that

Higher order predicate logic, Higher Order Predicate Logic : In the v...

Higher Order Predicate Logic : In the very first order predicate logic, we are only allowed to quantify over objects. If we are considered to allow ourselves to quantify over

What is called static and dynamic branch prediction, What is called static ...

What is called static and dynamic branch prediction? The branch prediction decision is always the similar every time a given instruction is implemented. Any approach that has t

Reference table and a reference field, A field containing currency amounts ...

A field containing currency amounts (data type CURR) must be assigned to a reference table and a reference field. Explain. As a reference table, a system having all the valid

Eliminating hazards - computer architecture, Eliminating hazards of pipeli...

Eliminating hazards of pipeline -  computer architecture: We can delegate the work of eliminating data dependencies to the compiler, which can fill up in suitable number of NO

What is the significance timescale directive, What is the significance Time...

What is the significance Timescale directive? Defines time units and simulation precision (smallest increment). Syntax 'timescale TimeUnit / PrecisionUnit TimeUnit =

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