We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
‘
_ Ans. Assembly Language Programming — A programmer can easily
write a program in alphanumeric symbols instead of zeros and ones. Meaningful
and easily rememberable symbols are chosen for the purpose. Examples are —aes i MP for comparison etc. Such
ADD for addition, SUB na Pr argent in mnemonics is known as
symbols are called mnemonics. A prog 5 ofa progtam int issembly language
assembly language program. The writing a ing a program in machi
is much easier and faster as compared to the writing a P era aching
language. Both assembly language and machine language are microprocessor.
specific. A microprocessor-specific language is known asa low-level language,
> Writinga program in the assembly language is not only easier than writing
it in the machine language, but it also helps in debugging, documentation and
maintenance.
Asan'assembly language program cannot be directly executed, it has to be
converted into the machine language form for its execution. The translation of
anassembly language program into its machine language equivalent can be done
with the help of a special software tool known as an assembler. The assembjer
accepts an assembly language program called a ‘source program’ as input and
produces its machine language equivalent called ‘object code’ as output.
High-level Language Programming — The difficulties associated with
assembly languages can be overcome using high-level languages. Instructions
written in high-level languages are called statements rather than mnemonics.
In a high-level language statemerits more clearly resemble English and
Mathematics than mnemonics. Examples of hi:
in these languages is easier or faster because one statement of a high-level
language corresponds to many instructions of assembly language.
ical o| ij ‘
assembly language program, pcodes. It is easier to enter an
(iv) The constant and address locati :
labels hence impartinga more friendly interface ee beled with suggestive
facilities like macros, lists etc,, making the task o (progam assemblers; provide
(v) The results may be stored in ming much easier, ,
(vi) The memory control is in the
(Vii) The flexibility of program,
i i: assembly language
programming as compared to machine language bec ons
available witlrthe modem assemblers, ‘ause of advanced facilities