Benefit and reason using Assembly Languages


Basically there are 3 levels of Programming Languages:
  1. Machine Language
    • Consists of individual instructions that will be executed by the CPU one at a time
    • Using Binary code ,since machines/ computer only know "on" and "off".
  2. Assembly Language (Low Level Language)
    • Designed for a specific family of processors (different processor groups/family has different Assembly Language)
    • Consists of symbolic instructions directly related to machine language instructions one-for-one and are assembled into machine language.
  3. High level Language
    • For example:C, C++, java and Vbasic
    • Designed to eliminate the technicalities of a particular computer.Statements compiled in a high level language typically generate many low-level instructions. 
The main point of this post is not about the machine language nor High Level Language, but the assembly Language.

Machine Language is make up from 0 and 1 ,thus assembly language is easier for human to read since  is using English.


Generally, programs called "assemblers" transform assembly language to machine language. This is a relatively straightforward process, there being a clear 1-to-1 transformation between assembly and machine language. This is as opposed to compilers, which do a complicated transformation between high-level language and assembly.

You also can use the Debug command in the Command prompt but however the Window 7 cannot support this command.

Advantages of Assembly Language

  • Shows how program interfaces with the processor, operating system, and BIOS.
  • Shows how data is represented and stored in memory and on external devices.
  • Clarifies how processor accesses and executes instructions and how instructions access and process data.
  • Clarifies how a program accesses external devices.
People using Assembly Languages because program that written in Assembly language required considerably less memory and execution time than programs written in High Level languages
.Beside Assembly language gives a programmer the ability to perform highly technical task that would be difficult, if not impossible in a high-level languages.More over most software specialists develop new applications in high level languages, which are easier to write and maintain.

Comments

  1. that good notes but how to clerifies a program access external device plz detail?

    ReplyDelete

Post a Comment

Popular posts from this blog

Reading and Writing Operation of SRAM

Transmission Control Protocol (TCP)

File transfer from android to linux