Assembly Language

Here you find some basic knowledge of assembly language and some simple program that help beginners

What is assembly language? :
                            An assembly language is a low-level programming language for computers, microprocessors, microcontrollers, and other programmable devices.
or
Assembly Language is a low level programming language using the human readable instructions of the CPU. It is Intermediate-level programming language which is higher (is easier to use but runs slower) than machine language and lower (is more difficult to use but runs faster) than a high-level language such as Basic, FORTRAN, or Java. Programs written in assembly language are converted into machine language by specialized programs called assemblers or compilers for their execution by the machine (computer).
Program Structure :
                          Machine language programs consist of code, data, and stack. Each part occupies a memory segment. The same organization is reflected in a assembly language program. This time, the code, data, and stack are structured as program segments. Each program segment is translated into a memory segment by the assembler. I use the simplified segment definitions that were introduced for the Microsoft Assembler (MASM), version 5.0.
'
    .MODEL SMALL
    .STACK 100M
    .DATA
    ;data definitions go here
    .CODE
    .MAIN PROC
    ;instructions go here
    MAIN ENDP
    ;other procedures go here
    END MAIN
Memory Models :
                      The size of code and data a program can have is determined by specifying a memory model the .MODEL directive. The syntax is :
                                               .MODEL  memory_model      










Under construction......................