C-programming for newbees!

By McCodEMaN

Part 2







2.1 Machine language, assembly language and High-level language!



Programmers write instructions in different program languages, some directly
understandable by the computer and others needs to be translated.
Hundreds of computer languages are in use today an these can be divided in to 3 general
groups:


*Machine languages
*Assembly languages
*High-level languages


A computer can directly only understand it`s own machine language.
Machine language is the natural language by one specific computer!
It is closely realeted to the hardware design of that computer.
Machine language generally consists of strings of '1' and '0' that makes it more easy
for the computers to perform their most elementary actions one by one.
Machine language are machine dependent, that means that it`s not quite easy to move
the program between different environments.
If you have a really bad day you might have to rewrite the hole thing!

When computers become more populere so thought most of the programmers that
Machincodes programming was to slow and boring.
So the started to use english-like abbreviations to represent the elementary operations
of the computer.
These english-like abbreviations formed the basis of the assembly language and to this new
language did they develop a utility that was called assembler, to translate the new code
into machine code.

But the assembly language demanded to many instructions in proportion to what i did, so
they created a high-level language, there single statements could been typed to achieve
real tasks.
The utility to translate high-level language is called a compiler.
C and C++ are two of the most powerful and most used high-level languages.





*****END OF PART TWO*****




This C-Programming Lesson is written by McCodEMaN ŠTRES2000. All Rights Reserved.