Académique Documents
Professionnel Documents
Culture Documents
Disadvantages
Advantages
Disadvantages
As machine level language are device dependent, the programs are not
portable from one computer to another.
Programming in machine language usually results in poor programmer
productivity.
Programs in machine language are more error prone and difficult to debug.
Computer storage location must be address directly, not symbolically.
Machine language requires a high level of programming skill, which increases
programmer training costs.
Advantages
Machine Languages
Assembly Languages
High - level Languages
Machine Languages
Each computer has only one programming language which does not need a
translating program the machine language. Machine language programs, the first
generation programs, are written at the most basic level of computer operation.
Because their instruction are directed at this basic level of operation, machine
language and assembler language are collectively called low level language. In
machine language, instruction are coded as a series of ones and zeroes. The
machine language programs are cumbersome and difficult to write. The machine
language is native to that machine and understood directly by the machine. The
machine language generally has two parts:
Opcod
Operan
e
d
The opcode of machine language tells what function to perform to
the computer. The operand gives the data on which the operation has to be
performed or the location where the data can be found.
Advantages and Disadvantages
As the machine inherently understands machine instruction, machine languages are
very fast. However, they suffer major disadvantages
1. Difficult to program. Programming in machine language is the most difficult
kind of programming. Instruction should be encoded as a sequence of
incomprehensible 0s and 1s which is very difficult.
2. Error-prone. In machine language, the programmer has to look into all the
activities like memory management, instruction cycle, etc., which diverts his
attention from the actual logic of the program. This frequency leads to error.
Assembly language
A set of instructions for an assembly language is essentially one-to-one with those
of machine language. Like machine language, assembly language are unique to a
computer. The big difference is that instead of a cumbersome series of ones and
zeroes, assembly languages use easily recognizable symbols called mnemonics, to
represent instructions.
As said before, machine language and assembly language are low-level
languages and are dependent on particular machine architecture. They are more
close to the machine rather than the programmer. The only difference between
assembly language and machine language is that assembly language is relatively
easier to use than machine language.
High level language