Thursday, January 15, 2015

Machine language

The lowest-level programming language (except for computers that utilize programmable microcode) Machine languages are the only languages understood by computers. While easily understood by computers, machine languages are almost impossible for humans to use because they consist entirely of numbers. Programmers, therefore, use either a high-level programming language or an assembly language. An assembly language contains the same instructions as a machine language, but the instructions and variables have names instead of being just numbers.
Programs written in high-level languages are translated into assembly language or machine language by acompiler. Assembly language programs are translated into machine language by a program called anassembler.
Every CPU has its own unique machine language. Programs must be rewritten or recompiled, therefore, to runon different types of computers.

No comments:

Post a Comment