SPOS 2019 Pattern Assignment GSMCOE
SPOS 2019 Pattern Assignment GSMCOE
4. What is the need of symbol table (ST) and literal table (LT) in two pass assembler?
6. Define Assembler Directive. Explain ORGIN, EQU & LTORG with example.
8. Explain Macro and its advantages & how they are different from function.
9. What is LEX tool? Explain working of LEX with suitable diagram and example.
12. Difference between Literal & Immediate operand (Constant). How assembler handle
14. Draw and explain Algorithm & flowchart of Pass-2 of two pass assembler.
15. Draw and explain Algorithm & flowchart of Pass-I of two pass assembler.
16.What are the databases(Data Structure) used by pass-1 and pass-2 of assembler.
START 100
READ N
MOVER B,='1'
MOVEM B,TERM
AGAIN MULT B,TERM
MOVER C,TERM
COMP C,N
BC LE,AGAIN
MOVEM B,RESULT
LTORG
PRINT RESULT
STOP
N DS 1
RESULT DS 20
TERM DS 1
END
20.
.
Prof. Neelam Jadhav
21.