Define Assembler & Assembly language
Definition of Assembler
An assembler is a program which accept input value [source code] & convert into machine language (object code) along with the information. It is translate assembly language program into binary code. When the user write different symbols in the source code.
There are two different stage use by assembler-
a). Analysis stage
b). Syntax stage
Design of Assembler
Pass one:- In the pass one assembler input file use different symbols through section tables , symbols table & common table in the pass one assembler input source code transfer into assembler space and transfer into target program with the help of pass two assembler.
Pass two:- In this assembler create a code which use the table create in pass one and write the code into an object file. It read one by one line of a source code and pass into different table create in pass one.
Read Also- what is Joint Application Development-JAD (Software engineering)
Daffination of Assembly language
A program write in different language with alpha numeric symbols & different language code but the assembly language use different symbols i.e. Add: Mule , Sub, Div. A program write in different symbols or code known as Assembly language program. It include three main element which help to user create a simple and proper program.
a). Operation code
b). Symbolic operand
c). Storage area
Assembly language statement formate
OP code(operation code):-
It receive different symbols use in program with the help of symbols.
Operand:-
It include register , member , labels , separate code and information.
Lable:-
It use different in the program and sign a symbolic name.
Comment:-
It use to different part of program and ignore by Assembler.
Advantage
1). The comment may be empty.
2). It is symbolic representation of a processor.
3). It use native code
Disadvantage
1). Programmer required proper knowledge of assembly language.
2). Program are depend on machine.
No comments:
Post a Comment
If you have any doubts, Please lets me know and Please Follow our Website