Java Programming Part 3: Assembly Language



---------------------------------------------------------------------------------
Binary Notation(1 & 0)  is very hard to understand , that is why Assembly Language was developed. 
--------------------------------------------------------------------------------------------------------------------------


 --------------------------------------------------------------------------------
Assembly language is a a programming language that consists of instructions that are mnemonic codes for corresponding machine language instructions.

Ex. 

DATA SEGMENT     MESSAGE DB "HELLO WORLD!!!$" ENDSCODE SEGMENT      ASSUME DS:DATA CS:CODESTART:       MOV AX,DATA      MOV DS,AX      LEA DX,MESSAGE             MOV AH,9      INT 21H      MOV AH,4CH      INT 21H      ENDSEND START
--------------------------------------------------------------------------------------------------------------------------





---------------------------------------------------------------------------------
The problem is that the computer doesn't understand the assembly code, so we need a way to convert it to machine code, which the computer does understand.Assembly language programs are translated into machine language by a program called an assembler. 
---------------------------------------------------------------------------------


---------------------------------------------------------------------------------
An assembler is a program that takes basic computer instructions and converts them into a pattern of  bits ( 0 & 1) that the computer runs to produce result
---------------------------------------------------------------------------------


-----------------------------------------------------------------------------------------------------------------
 Assembly language is easier for a human to read and can be written faster, but it is still much harder for a human to use if you don’t know exactly the internal structure of computer.
----------------------------------------------------------------------------


Walang komento:

Mag-post ng isang Komento