0% found this document useful (0 votes)
88 views4 pages

SPOS 2019 Pattern Assignment GSMCOE

The document contains 21 questions about computer engineering topics like system programming tools, assemblers, interpreters, macro processing, and LEX tools. It asks to define various concepts, explain components and working of tools, compare compilers and interpreters, and show outputs of two-pass assemblers for given assembly code examples.

Uploaded by

callhimsid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
88 views4 pages

SPOS 2019 Pattern Assignment GSMCOE

The document contains 21 questions about computer engineering topics like system programming tools, assemblers, interpreters, macro processing, and LEX tools. It asks to define various concepts, explain components and working of tools, compare compilers and interpreters, and show outputs of two-pass assemblers for given assembly code examples.

Uploaded by

callhimsid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

COMPUTER ENGINEERING DEPARTMENT

Subject : SPOS ASSIGNMENT NO – 01 Unit : I

1. Define Token, Pattern, Lexeme, string and alphabets

2. Define system programming & explain its all tool in details.


i) Compiler ii) Loader iii) Editor iv) Linker v) Debugger etc.

3. What is interpreter? Explain components of interpreter.

4. What is the need of symbol table (ST) and literal table (LT) in two pass assembler?

Explain fields of ST and LT with suitable example.

5. Explain the different assembly language statement with examples.

6. Define Assembler Directive. Explain ORGIN, EQU & LTORG with example.

7. What is forward reference ? How it is handled in single pass assembler ?

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.

10. Compare Compiler and Interpreter. (min 6 points).

11. Explain the machine structure in details. (structure of CPU)

12. Difference between Literal & Immediate operand (Constant). How assembler handle

them? Give example.

13. Enlist different types of error handled by PASS- I & II assembler.

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.

Explain them with their format.

Prof. Neelam Jadhav


17. Consider following Assembly code and show output of pass-1 and pass-2
of two pass assembler with entries in MOT, POT, ST, LT and BT.

PROG START 100


USING *,15
SR 4,4
L 1, ONE
A 1,=F'2'
ST 1,RES
RES DS 2F
ONE DC F'1'
END

18. Consider following assembly language code show output of pass-1 of


two pass 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

Prof. Neelam Jadhav


19.

20.

.
Prof. Neelam Jadhav
21.

****************** Best of Luck *******************

Prof. Neelam Jadhav

You might also like