Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

APPA INSTITUTE OF ENGINEERING & TECHNOLOGY, GULBARGA DEPARTMENT OF COMPUTER SCIENCE 1st INTERNAL ASSESSMENT Subject : System Software

Time : 3.30-4.45 PM Sub Code : 10CS52 Date : 11-09-2012 Class : 5th SEM Marks : 25 Note : Answer any 5 questions atleast two from each part. PART A 1. (i) Differentiate between System software and Application software (ii) Differentiate between Base relative and PC relative 2. Briefly explain SIC machine architecture 3. Explain SIC/XE machine instruction formats and all addressing modes by clearly indicating setting of different flag bits 4. Write a sequence of instructions in SIC to clear a 20-byte string to all blanks PART B 5. Write algorithm of pass2 of two pass assembler 6. Generate the machine code for the following SUM START 0 FIRST LDX #0 +LDB #TABLE2 BASE TABLE2 LOOP ADD TABLE, X ADD TABLE2, X TIX COUNT JLT LOOP +STA TOTAL RSUB COUNT RESW 1 TABLE RESW 1000 TABLE2 RESW 2000 TOTAL RESW 1 END FIRST ADD=18(H), LDX=04(H), LDB=68(H), TIX=2C (H), JLT=38(H), STA=OC (H), RSUB=4C (H) 7. Explain in detail about Program Relocation
8. Write a note on

i). OPTAB

(ii). SYMTAB.

You might also like