Pros and cons of assembly language, Computer Engineering

Assignment Help:

Pros and Cons of Assembly Language

The following are a number of advantages / disadvantages of employing assembly language:

  • Assembly Language offers more control over handling particular software andhardware as it permits you to study the addressing modes, instructions set, interrupts etc.
  • Assembly Programming produces smaller, more compact executable modules: as the programs are closer to machine, you can be able to write highly optimised programs. This yields in faster execution of programs.

Assembly language programs are as a minimum 30% denser than same programs written in high-level language.  Main reason for this is that as of today compilers generates a long list of code for each instruction as compared to assembly language that generates single line of code for a single instruction. This would be true particularly in case of string related programs.

Instead assembly language is machine dependent.  Every microprocessor has its own set of instructions. So assembly programs aren't portable.

Assembly language has very few rules orrestrictions; nearly everything is left to discretion of the programmer. This gives lots of freedom to programmers in construction of their system.


Related Discussions:- Pros and cons of assembly language

Compare pre-emptive and non-preemptive scheduling policies, Compare pre-emp...

Compare pre-emptive and non-preemptive scheduling policies. We preempt the currently executing process in preemptive scheduling. In non-preemptive we permit the current process

Cache simulater, Requirements You are required to program (in a high l...

Requirements You are required to program (in a high level language such as C, C++, Java) and implement a cache simulator which will have the following inputs and outputs:-

What is the advantage of buffering, What is the advantage of buffering? Is ...

What is the advantage of buffering? Is buffering always effective? Justify your answer with help of an example. I/O buffer: One type of input-output requirement arises from d

Defines a macro, Defines a macro Defines a macro with the given name, h...

Defines a macro Defines a macro with the given name, having as its value the given replacement text. After that (for the rest of the current source file), wherever the preproce

What is event-driven control, What is event-driven control? Control res...

What is event-driven control? Control resides within a dispatcher or monitors that language, subsystem or OS provider. Developers attach application process to events and dispa

Find values of x using 7s complement, Q. Perform binary subtraction, using ...

Q. Perform binary subtraction, using 1s & 2s complement: 1) 1010-1011 2) 0.1111-0.101 3) 11.11-10.111 Q.  (192.25)10 - (C0.C)16 = (x)7 Find values of x, using 7's compl

What is garbage collection and what is it used for, In computer science, ga...

In computer science, garbage collection (GC) is a form of automatic memory management. The garbage collector, or just collector, attempts to reclaim garbage, or memory occupied by

Define a variant of top-down parsing without backtracking, A parser which i...

A parser which is a variant of top-down parsing without backtracking is? Ans. Recursive Descend is a variant of top-down parsing without backtracking.

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