Monday , July 4 2022
Home / Assembly / Assembly #1 – What is Assembly language?

Assembly #1 – What is Assembly language?

Today we start a new tutorials series on Assembly language programming. In this series we will learn

  • What is Assembly language?
  • The flow of language processing
  • Why learn Assembly language?

Every device around us works with some binary signals high or low, or you can say binary language ones and zeroes. This hardware layer works through the Instruction Set Architecture which takes Machine language code and implements in Binary signals which runs our drives. But coding in Machine language is very difficult due to its numeric instructions. This is why an improved language was created which is known as Assembly language.

A C++ code snippet:

int Y; 
int X = (Y + 4) * 3;

Following is the equivalent translation to assembly language. The translation requires multiple statements because assembly language works at a detailed level:

mov eax, Y; move Y to the EAX register 
add eax,4 ; add 4 to the EAX register 
mov ebx,3 ; move 3 to the EBX register 
imul ebx ; multiply EAX by EBX 
mov X,eax ; move EAX to X

We will also discuss what is the flow of language processing.


language flow


Requirements for following this series:

  1. Some programming background with C# or Java or any high level language
  2. x86 or 32bit computer architecture


Watch the video – Assembly language in Urdu: Introduction:

About Waleed Baig

I am doing BS Computer Science. I have a passion to learn new technology and spread it. I am more enthusiastic about learning complex algorithm and making creative and efficient solution to a problem.

Check Also

assembly language in visual studio

Assembly #03 – Getting the right tools

In this tutorial we will download the right tools required for programming in Assembly language. …

Leave a Reply

Your email address will not be published.