System Software Jan 2009
System Software Jan 2009
com
L'SN
I I I I I I I I I I I
Fifth Semester B.E. Degree Examination, Dec.08/Jan.09 System Software
06CS52
Time: 3 hrs.
Note: Answer any FIVE full questions, selecting at least TWO questions from each part.
PART-A Bring out the differences between Application software and System software. (04 Marks) Explain SIC/XE machine instruction formats and all addressi ng modes by clearly indicating (10 Marks) the setting of different Oag bits. Write a subroutine in SIC/XE to read a 100-byte record from a device ' F5' into BUFFER. (06 Marks) Use immediate and register-to-register instructions.
{l 0 Marks) Write and explain the algorithm of PASS- I or two-pass assembler. Generate the complete object program for the following assembly level program. SUM START 0 X FIRST CLEAR LOA #0 +LOB #TOTAL BASE TOTAL ADD TABLE. X LOOP TIX COUNT JLT LOOP STA TOTAL COUNT RESW l TABLE RESW 2000 1 TOTAL RESW END FIRST As.sume below opcodes (all in hexadecimal) CLEAR - B4 LDA - 00 LDB -68 ADD- 18 ( 10 Marks) TIX-2C JLT-38 STA-OC
a. b. c.
a. b.
a. b.
c.
a. b. c.
Distinguish between li teral and immediate operands. How does the assembler handle the literal operand? (04 Marks) Compare a two-pass assembler with a one-pass assembler. How forward references are handled in one-pass assemblers? ( 10 Marks) Write a note on MASM assembler. (06 Marks) Give and explain the algorithm or source program for a simple Bootstrap loader. Distinguish between linking lo~der and linkage editors. Explain dynamic linking with suitable diagrams.
(08 Marl<s) (04 Marks) (08 Marl<s)
PART-B a. Explain the structure of a text editor with a neat diagram. b. Explain the function s and capabilities of an interactive debugging system. c. Write a note on the aspect of user-interface criteria.
a.
\\nat are the basic functions of macroprocessor? Explain the various data structures used in the implementation of a one-pass macroprocessor. ( 10 Marl-s)
l of2