Saturday, 27 April 2013

Lesson 03 - Introducing Machine Language ( First Generation Language )

All computers use binary number system (1, 0) for perform internal operations.  Machine language is the only language using binary digits to represents an instruction. Therefore the computer can directly process the instruction written in machine language.






A number of languages (Binary Number System) can be used to write programs. The Computer only can understand machine language. The programs written in other program language must be translated to machine language for execution.



For an example 1010 in the binary number system equal to 10 in the decimal system.

1010 = (1*23) + (0*22) + (1*21) + (1*20) = (1*8) + (0*4) + (1*2) + (0*1) = 8 + 0 + 2 + 0 = 10



Advantage of the machine language.

The advantage of machine language program execute very fast because no translate required.
 
Disadvantage of the machine language.

It’s very difficult to program with machine language because the programmer need to remember details of hardware to write program.


Machine languages are error – prone because programmer has to remember lot of codes to write.

It’s difficult to modify because of complexity.




 ------------------------------------------------------ end ---------------------------------------------------------
 If you like this post dont forget to LIKE US on FaceBook :  Career on Software Engineering ( VB.net )

Best Regards

We will welcome your comments, New Ideas and etc.. for improve this site.
Sumiya. DNIIT, SCJP, Bsc ( Hons )
e-mail : sumiyalearns2you@gmail.com

No comments:

Post a Comment