Thursday, April 21, 2016

What is Assembly Language?

Assembly Language : Assembly language programs are translated into machine language instructions by an assembler, so they must be written to conform to the assembler's specification.


Statements : Programs consist of statements, one per line. Each statement is either an instruction, which the assembler translate into machine code, an assembler directive, which instructs the assembler to perform some specific task, such as allocating memory space for a variable or creating a procedure. Both instructions and directives have up to four fields.

name          operation             operand(s)            comment

An example of instruction is

START :        MOV CX,5                  ;initialize counter

Here, the name field consists of the label START. The operation is MOV, the operands are CX and 5, and the comment is;initialize counter.

An example of a assembler directive is

MAIN               PROC

MAIN is the name, and the operation field contain PROC. This particular directive creates a procedure called MAIN

Learn More from Blog :  

Expert Web Engineering

Expert Computer Networking

Talent Programming Language C

Logical Discrete Mathematics

Expert Compiler Design

Expert Data Structure

Professional Algorithm Design

Professional Responsive Web Page Design By Bootstrap

Talent Software Engineering