DIFFERENCES BETWEEN HIGH AND LOW LEVEL LANGUAGES
S/N
|
HIGH LEVEL LANGUAGE
|
LOW LEVEL LANGUAGE
|
1.
|
It will be in human readable form
|
It is a machine readable form of program
|
2.
|
Are easy to write as well as compile
|
Are difficult to write and compile
|
3.
|
It is simple to debug
|
It is complex to debug comparatively
|
4.
|
It is portable
|
It is not portable
|
5.
|
It is simple to maintain
|
It is complex to maintain comparatively
|
6.
|
It is less memory efficient
|
It is high memory efficient
|
SIMILARITIES BETWEEN HIGH LEVEL AND LOW LEVEL LANGUAGES
They are used by programmers.
They are executed by a CPU with or without the help of memory.
Are very precise and well defined/documented.
Ultimately break down to machine code i.e 1s and 0s.
MACHINE LEVEL LANGUAGE
Machine language is a collection of binary digits or bits that the computer reads and interprets. Machine language is the only language a computer is capable of understanding; Machine language is the lowest-level programming language (except for computers that utilize programmable microcode). Machine languages are the only languages understood by computers. Machine Language: This is the closest language to the hardware. It consist sets of instructions that are executed directly by the computer. These instructions are in sequence of binary bits. Each transaction performs a very specific and small task. Example: SUB AX, BX = 00001011 00000001 00100010 is an instruction set to subtract values of two registers AX and BX.
FEATURES OF MACHINE LANGUAGE
It is written in 1’s and 0’s.
ADVANTAGES OF MACHINE LANGUAGE
Makes fast and efficient use of the computer.
It requires no translator to translate the code. It is directly understood by the computer.
DISADVANTAGES OF MACHINE LANGUAGE
All operation codes have to be remembered.
All memory addressed have to be remembered.
It is hard to amend or find errors in a program written in the machine language.
Share with your friends: |