Fifth Semester B.E. Degree Examination, May/June 2010
Systems Software CS51 3 hrs. Max. Marks: 100 1 ..
-1 ' Note: Answer any FIVE full questions. a. \Vhat are tee instructions that affect conditional flags in SIC/XE computers? Explain each of them. (12 Marks) b. Bring out the differences between system software and application software, giving examples. (08 Marks) a. Briefly explain a simple boot-strap loader, with an algorithm or a source program. (10 Marks) b. Assemble the given assembly language program of an SIC system. Assume relevant code for a. [' .... - ::. :: each instruction. TRANS START 0100 FIRST LDX ZERO RLOOP TD INDEV JEQ RLOOP RD INDEV STCH RECORD,X TIX KlO JLT RLOOP RSUB INDEV RECORD ZERO K10 Generate the object program. Show the symbol table generated. BYTE RESB WORD WORD END X 'Fl ' 10 0 10 What are the databases used by assembler during pass 1 and pass 2? List them . \\-hat are the advantages and disadvantages of RISC system? H O\\' does the assembler handles literal operands? (10 Marks) (08 Marks) (08 Marks) (04 Marks) \\'hat is the function of a loader? Write an algorithm for an absolute loader and explain. (12 Marks) List the differences between a linkage editor and a linkage loader 108 Marks) \\.hat are the different editing features available in text editor? \\ hat are the advantages of interactive debugging system? :he macro instruction definition fonnat and explain each pan to perfonn saving of SIC/XE registers. the following tenns in compiler: (05 Marks) (OS Mark5) Write a macro (10 Marks) : ::..c-xical analysis ii) Syntax analysis iii) Grammar. ( 10 Marks) ,;.--..2: 2..r.: the different passing techniques used in compiler? Explain each of them. (10 Marks) =. my rwo machine-independent code optimizations, with examples. \\-.:-2: :5 :: quadruple? Present the following in quadruple fonn : . = sumsq. DIY 100 - (Mean)*(Mean) (10 Marks) (10 Marks) -;-, ::-::-: Y "-- program to recogni ze validit y of an arithmetic expression that uses +, -, I and *. (10 Marks) -;- 4 ::: len program to replace scanf wi th READ and printf with WRITE statement. Also, A1umber of scanf and printf. (10 Mark5) * * * * * For More Question Papers Visit - http://pediawikiblog.blogspot.com For More Question Papers Visit - http://pediawikiblog.blogspot.com