Assembly Level Language
Assembly language is a middle level language. Assembly level language in computer programming has evolved with the advancements in the machine language. Assembly language uses symbols, such as letters, digits, and special characters. So it is a alphanumeric code. In assembly language, we use predefined words called mnemonics. Mnemonics in computer terminology to write the instructions. So, comparatively writing a program in Assembly language is more understandable to the Human than Machine Language.
As we know that computer only understand the binary codes but assembly language uses alphanumeric codes so that purpose a translator is required to translate it into machine code. The Assembly language code will be converted into a Machine language code with the help of an Assembler so that the computer can understand the binary converted Assembly Language.
Assembler
Assembler is a translator which converts assembly language code to machine language code. It acts as a intermediary between humans and computers. it takes assembly code as input and produces machine code as output that can be understood by the computer.
Example of Assembly language is-
- ADD A,B :Add the content of the B register into the A register
- MOV A,3 :Transfer the value 3 to the A register
- INC COUNT : Increment the memory variable
- COUNT MOV TOTAL, 48 : Transfer the value 48 in the ; memory variable
- TOTAL ADD AH, BH : Add the content of the ; BH register into the AH register
- ADD MARKS, 10 : Add 10 to the variable MARKS
- MOV AL, 10 : Transfer the value 10 to the AL register
Comments
Post a Comment