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

Password, A phonetic password generator picks two segments randomly for eac...

A phonetic password generator picks two segments randomly for each six letter password. form is CVC. what is the total password population? 1> what is the total password population

Describe the lists used in html, Q. Describe the LISTS used in html? Li...

Q. Describe the LISTS used in html? Lists are used when data are to be mentioned in form of points such as: causes of a particular issue, list of items etc. Lists break up mono

Implementation and testing, In this stage of the project you are required t...

In this stage of the project you are required to create a Design document, the Design document must contain the following:  Structure chart Pseudo-code Data Dictionary

Cohesion, Identify the type of cohesion in the following statements: 1. ...

Identify the type of cohesion in the following statements: 1. Compute average daily temperatures at various sites 2. Initialize sums and open files 3. Create new temperature rec

What is an assembler, An assembler is? Ans. An assembler is Machine dep...

An assembler is? Ans. An assembler is Machine dependant.

Eight-stage process - conjunctive normal forms, Eight-stage process - Conju...

Eight-stage process - Conjunctive normal forms: Hence we notice the following eight-stage process converts any sentence with CNF as:  1.  Eliminate all arrow connectives by

Show the spawned program, Q. Show the spawned program? include "pvm3.h"...

Q. Show the spawned program? include "pvm3.h"  main() {    int ptid, msgtag;    char buf[100];    ptid = pvm_parent();    strcpy(buf, "hello, world from ");

JAVA, HOW WAS JAVA INVENTED?

HOW WAS JAVA INVENTED?

Object orientation and uml, In this task you are supposed to create three U...

In this task you are supposed to create three UML diagrams. The conditions are given by the scenario in the document Theatre Case (on Blackboard). A theatre manager has ordered a s

Define the key features of hop field neural networks, a. Define the Key fea...

a. Define the Key features of Hop field Neural Networks. b. Compare and contrast among Neural Networks and Expert systems in terms of knowledge representation, acquisition and e

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