Machine Language

5 Likes Comment

Machine Language is the language of the computer and is the only language that is directly understood by the computer. We also call it machine code and it is written as strings of 1’s and 0’s. It is on this basis that the computer is designed. When this sequence of codes is fed to the computer, it recognizes the codes and converts it in to electrical signals needed to run it. For example, a program instruction may look like this:
1011000111101
It is not an easy language for you to learn because of its complexity as it consists of 1’s and 0’s. It is most efficient for the computer as the instructions are directly executed. It is considered to the first generation language. It is also difficult to debug the program written in this language.
Advantage
The only advantage is that program of machine language run very fast because no translation program is required for the CPU.
Disadvantages
1. It is very difficult to program in machine language. The programmer has to know details of hardware to write program.
2. Machine language is hardware dependent.
3. The programmer has to remember a lot of codes to write a program, which results in program errors.
4. It is difficult to debug the program.

You might like

About the Author:

Leave a Reply

Your email address will not be published. Required fields are marked *