Pages

January 19, 2013

Machine Language

machine language 0 and 1


It is the only language which is directly understand by the computer. In this computer program is in string of 0’s and 1’s.
Machine Code, or machine language, in computer science, low-level programming language that can be understood directly by a computer’s central processing unit (CPU). Machine code consists of sequences of binary numbers, or bits, which are usually represented by 1's and 0's, and which form the basic instructions that guide the operation of a computer. The specific set of instructions that constitutes a machine code depends on the make and model of the computer’s CPU. For instance, the machine code for the Motorola 68000 microprocessor differs from that used in the Intel Pentium microprocessor.



Each instruction is of the form of operation codes and operands
OPERATION CODE basically are the binary codes that order to do particular so suitable operation.
OPERANDS are the portion of a computer instruction that specifies the location in memory of that data to be manipulated.

ADVANTAGES:
As the machine language is program are directly executed by the computer and speed of execution is very fast. So, due to this program will in very short time.

DISADVANTAGES:
1. The readability of this program is very poor.
2. It is very difficult to learn and write in this language.
3. It is very difficult to debug and modify the program.
4. These programs are machine dependent and program written on one machine cannot be executed on any another machine.



No comments:

Post a Comment