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

Application using shift operations, Application Using Shift Operations ...

Application Using Shift Operations Rotate and Shift instructions are helpful even for division andmultiplication. These operations are not normally available in high-level lang

Hiring problem algorithm, Consider the Hire Assistant problem. We interview...

Consider the Hire Assistant problem. We interview n candidates and always hire the best qualified so far. Let n = 5 for our example. Find the probabilities that we hire exactly 1 t

What are the roll and page areas, What are the roll and page areas? Ro...

What are the roll and page areas? Roll and page areas are SAP R/3 buffers used to kept user contexts (process requests).  The SAP dispatcher assigns procedure requests to work

Define multi programming, Define multi programming? Many operating syst...

Define multi programming? Many operating systems are designed to enable the cpu to process a number of independent programs concurrently. This concept is  known as multi progra

What are advantages and drawbacks of flip-flop, What are advantages and dra...

What are advantages and drawbacks of flip-flop? Usually area of a Flip-flop for features in more than a latch. Power consumption is normally higher, because of the area and

RS232C schematic diagram, Can someone provide me a scehmatic diagram of RS2...

Can someone provide me a scehmatic diagram of RS232C with explanation?

#titlecompiler design.., c program for converting context free grammar to g...

c program for converting context free grammar to griebach normal form

Dos function calls, INT 21H supports about 100 different functions. A funct...

INT 21H supports about 100 different functions. A function is recognised by putting the function number in AH register. For illustration if we want to call function number 01 then

How firewalls operate, Firewalls operate by Creening packets to/from th...

Firewalls operate by Creening packets to/from the Network and give controllable filtering of network traffic.

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