Benefit and reason using Assembly Languages
Basically there are 3 levels of Programming Languages:
- 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".
- 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.
- 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.
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.
.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.
that good notes but how to clerifies a program access external device plz detail?
ReplyDelete