Assembly - Introduction

Prahlad Godara ------ From DOOSEEP

What is assembly language?

Assembly language is a human-readable first-level computer programming language, a set of instructions and keywords used to program a computer or programmable device to work, intended to communicate directly with the computer's hardware.

Normally a processor only understands machine language instructions, which are strings of 1's and 0's, indicating whether current is supplied (1) or not (0). However using machine language in software development is very vague and complicated. That is why the frequently used binary code was linked to the keywords understandable by humans, hence the development of assembly language.This is the base of assembly and binary language high level language, Means high level computer programming languages (eg - python, c, c++, java etc..) have been developed from these languages,

how assembly language works?

As I told you, assembly language is a set of some symbols, keywords and instructions that can be read by human beings, firstly the syntax and keywords in the assembly code is checked, after it is correct this assembly is compiled by the assembler. The code is translated into binary code, after which it is linked by the linker with the already created code or library, if needed, after which this code is ready to run on that computer hardware.

use of assembly language

In the early days of computing, both systems programming and application programming were done entirely in assembly language. Without assembly language, many modern computer and high-level languages we use today would not be possible.

But nowadays system and application programming is mostly done in high level languages, yet assembly language is still used in many places.

  1. Assembly language is used to have more control over your computer as assembly language allows you to manipulate your hardware directly.
  2. Assembly language is used to decompile modern computer software to find out how the software or application works.
  3. Doing Memory Management - It is best suited for writing interrupt service routines and other memory resident programs.
  4. Cracking or modifying the application software,
  5. Development of new high level programming language,
  6. Development of security applications,
  7. Providing anti decompile protection to application software,
  8. manipulating the hardware directly,
  9. Used to access special processor instructions or evaluate critical performance issues

etc.. are used for.

popular assembly languages

The most commonly used assembly languages include ARM, MIPS, and x86.

Conclusion

Assembly language is a low-level programming language for a computer or other programmable device that is specific to a particular computer architecture. Assembly language is a hardware-based language. is converted into machine code runnable on the machine by assembler, assembler name - ( NASM, MASM, etc.),