how machine run fast by assembly

What is an Assembly Language? – Definition

The machine read-only assembly language, not another language. The assembly language converted code into binary like 0 or 1.  By this way, The machine executed the code.

Assembly Language is faster rather than the other programming language.

Assembly language is very helpful to us when we want fast execution for any devices or machine.


The programing language like Java, PHP, Programming C, etc. these languages translated into assembly language and then compiled into 0 or 1 form. It called ‘machine code’ or ‘machine language’. you can see here What Is The Programming Language?

The machine read the instruction of assembly language and run fast.  That code converted into 0 or 1 form,  It called ‘Binary Number’ or ‘machine code’. But its a low-level code in assembly language.

The modern machine has a hexadecimal number. Because the assembler established the code into a high-level language to the growing speed of execution in the machine.

Machine code included in a binary number, decimal number, and hexadecimal number.

The number of binary, octal, decimal and hexadecimal has included into KB(kilobytes), MB(megabytes), GB(gigabytes). you can see about machine language and machine learning
What Is Machine Learning? Why Does It So Important?

Now, I will show some instruction and definition of assembly language and how the machine read the instruction of assembly and access by the assembler.

#Assembly Language

The DB directive used to declare a 2-byte variable. 1 byte is consists of 8 bits so it has total 16 bits.
For example:- DB 10h
This instruction the return 10 and terminates the byte.

The DW directive used to word type variable it has 2-byte.
For example:- DW 1234h
This instruction set the maximum number of the word into memory or accumulator.

This directive indicates the export of entry symbol which is a label at entry level.

This directive is substitute values for symbol or labels.

This directive assigned the value to the symbol. you can not define this directive if EQU directive was used.

This directive set the program or register address
For example:- ORG 0100h
This instruction is to assemble all subsequent code starting address at 0100h

******STRUCT and END:-
The Struct directive provides a structure template for grouping data. END directive provides the end of the structure

The instruction known by machine read as a fast.

This directive is moved from one place to another place
For example:MOV DS,DX
This indicates to move the content of DX into segment register DS

This directive has loaded the value of content
For example:- LDA RS, 10h
These directives indicate to load 10 value into RS

This directive is to add the value in a particular location
For example:- ADD L,3
This instruction to added the value into L location

How Assembly’s Used In The Computer?

Today’s many computers are developed by the assembly. because assembly executed fast in any machine. So It’s important for developing a fast machine or computer.

The Assembly eliminates much of the error-prone, tedious, and time-consuming programming.

The Assembly language is used for hardware manipulation to access processor instruction. It avoiding critical performance issues.

Typically It used in device drivers, embedded system and real-time system.

Most microcomputer relay on hand-coded assembly language, including an operating system. Because this system had to serve resource constraints.

Microcomputer use a psychological factor may have also to play a role. the first generation of microcomputer programmer retained wires and pliers attitude.

It’s called a low-level programing language. Because there is a very strong correspondence between program statement and machine code instruction.

Now, I will show to you some important thing about assembly. this will help you to know about the computer and their parts.

Advantages of Assembly Language
  • The program is interfaced with  the os(operating system), processor, BIOS(bus input output system)
  • The data is strongly represented in memory and other external devices
  • The Processor accessed and executed an instruction
  • That requires less memory and execution time
  • That allows complex work in specific hardware


Assembly is faster than others. therefore The Machine is read the program of assembly language, then that code converted into machine code.

The code of that executed by the assembler and then run. So The Assembler is a compilation of assembly language and executes the source program into the machine.

By this way That targets to the machine and displays the input and output of a program.

The modern assembler has x86 processors. It’s consist of 32-bit, 64-bit, SSE, and AVX.

More of the x86 assembly is the most popular architecture in desktop and laptop computer. So This language used in the operating system, firmware, device drivers, embedded system.

In this, the Physical location of memory and control of statement are not done by the program.

The physical location of memory done by the assembly of the machine. so That depends on the machine.

Reference: you can read books for knowing more
1) “Assembly Language” Wikipedia
2) Evans, David(2006). “x86 assembly guide”
The University of Virginia. Retrieved 18 November 2010
3) “The SPARC architecture manual version 8”
SPARC International.1992 Archived From The Original On 2011-12-10
4)Andrew D. Booth: Kathleen H.V Britten
“General considerations in the design of all-purpose electronic digital computer”
5)Campbell-kelly martin(April 1982)
“the development of computer programing in Britain”
IEEE Annals of the history of computing

Leave a Comment

Your email address will not be published. Required fields are marked *

%d bloggers like this: