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

Input-output-processor interconnection network (iopin), Input-Output-Proces...

Input-Output-Processor Interconnection Network (IOPIN) This interconnection network is used for communication between I/O channels and processors. All processors commune with a

What are the two phases in the advancement of linux, What are the two phase...

What are the two phases in the advancement of Linux? State some Applications of Open Source Systems? Finance Educational Data Storage and Management ERP (Ent

Every sheet in a workbook in excel, Is there a way to apply the same format...

Is there a way to apply the same formatting to every  sheet in a workbook in Excel? Ans)  Yes. To do this, you will require to right click on one of the worksheet tabs and th

Differentiate between sequential access and direct access, Question: (a...

Question: (a) Briefly explain how the functionality of the WWW has been enhanced, after its birth at CERN site. Use examples to illustrate your answer. (b) Many modern com

What is a good resolution, Q. What is a good resolution? In fact it rel...

Q. What is a good resolution? In fact it relies on your hardware. Hence it's the maximum your hardware can allow you.  But one odd-looking resolution that has become popular is

What are problems of clock skew, What are problems of clock skew? This ...

What are problems of clock skew? This is typically because of two causes. The primary is a material flaw that causes a signal to travel faster or slower than imagined. The seco

What is base register addressing, Q. What is Base Register Addressing ? ...

Q. What is Base Register Addressing ? An addressing technique in which content of an instruction specifies base register is added to address field or displacement field of the

Operating system, define request edge and assignment edge

define request edge and assignment edge

What is the main function of the memory-management unit, What is the main f...

What is the main function of the memory-management unit? The runtime mapping from virtual to physical addresses is done by a hardware device known as a memory management unit

What is locality of reference, What is locality of reference? Analysis ...

What is locality of reference? Analysis of program represents that many instructions ion localized areas of the program are implemented repeatedly during some time period, and

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