0% found this document useful (0 votes)
56 views

cs2304 Ss

The document is a past exam paper for a System Software course. It contains multiple choice and long answer questions about assemblers, linkers, loaders and their features. Some key topics covered are: - The purpose and uses of assembler directives like START, CSECT and USE. - How relocation is specified in machines that use direct addressing. - The differences between literals and immediate operands. - What loading and linking are. - The purpose of the ESTAB data structure in linkers and why bootstrap loaders are required.

Uploaded by

sampathabo
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views

cs2304 Ss

The document is a past exam paper for a System Software course. It contains multiple choice and long answer questions about assemblers, linkers, loaders and their features. Some key topics covered are: - The purpose and uses of assembler directives like START, CSECT and USE. - How relocation is specified in machines that use direct addressing. - The differences between literals and immediate operands. - What loading and linking are. - The purpose of the ESTAB data structure in linkers and why bootstrap loaders are required.

Uploaded by

sampathabo
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Reg No: KAMBAN ENGINEERING COLLEGE, THIRUVANNAMALAI Term Test- II Semester V DEPARTMENT OF INFORMATION TECHNOLOGY CS2304-SYSTEM SOFTWARE Time:

1 hr 30 min. Part - A Max. Marks: 50 (10x2=20)

1. What are the uses of the assembler directive START, CSECT and USE?
2. In a machine that uses predominately direct addressing, how will you specify relocation?

3. What is difference between literals and immediate operand?


4. What is loading and linking?

5. What is the use of ESTAB data structure in linking loader? 6. What is bootstrap loader? Why it is required? 7. What are the uses of the assembler directive EXTREF and LTORG? 8. What is meant by relocation? How does the assembler pass on this information to loader? 9. Consider the following sequence X EQU Y Y EQU Z Z RESW 1

Is a two pass assembler can resolve such a sequence of definition? Justify your answer. 10. Differentiate between linking loader with linkage editor.

Part -B

(3*10=30)

11. a. What is forward reference? Explain one pass assembler with an example.

(Or) b.Explain in detail about the design of relocating loader.

12. a.Describe how a subroutine is called using dynamic linking concepts.

(Or) b.Explain any two machine independent assembler features in detail.


13. a. Explain the algorithm and data structure used for representation of linking loader.

(Or) b.With a neat diagram explain the working of linkage editor.

You might also like