Saturday, October 10, 2009

Instruction

Commands discussed above is not a command like human language. Computers only have a limited number of simple commands well defined. Ordinary command is understood most of the computer is "copy the contents of cell 123, and a place in the cell clone 456", "add the contents of cell 666 to cell 042, and the result in 013 cells", and "if the contents of cell 999 is 0, the next command you in 345 cells ".

Instructions represented in the computer as a number - code for "copy" may be 001, for example. A set of special commands that are supported by a particular computer is known as machine language. In practice, people usually do not write instructions for computers directly in machine language but use the programming language "high level" is then translated into machine language automatically by special computer programs (interpreters and compilers). Some programming languages are closely related to machine language, such as an assembler (low level languages); on the other hand, languages like Prolog are based on abstract principles far removed from actual implementation details of the engine (high-level language)

No comments:

Post a Comment