Fundamentals of C
Fundamentals of C
Computer Languages
Instruction written in this form are referred to machine
language. It is possible to write an entire program in
machine language. However, this is very time consuming
and difficult for computer programmers to read and
understand.
Therefore, the next level of computer language allows
words and symbols to be used in an unsophisticated
manner to accomplish simple task.
010000110011101000111101010000010010101101000010
This is replaced by
LOAD A
ADD B
STORE C
C =A + B ;
get translated into a machine code. The actual bit patterns for this code
varies according to the machine and software version, but it could be
previously indicated. For the translation to happen, a special program
called compiler reads the high-level instructions and translates them
into machine code. This compiled version id then run using some
appropriate data and the results are presented through some form of
output device. The special programs that activate the compiler, run the
machine code version, and cause output to be printed are examples of
system programs(software)
C = (A + B;