APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 5

Subject : System Software

Year : 2020

Term : SEPTEMBER

Scheme : 2015 Full Time

Course Code : CS 303

Page:2





PDF Text (Beta):

7 9७)

b)

12 a)
b)
13 a)

b)
14 a)

b)

00000CS303121901

Suppose RECORD contains a 100-byte record. Write a subroutine for SIC that will
write this record onto device 05.
What is a relocatable program? Do all instructions of SIC/XE machine program
need modification because of relocation? Justify your answer.

PART C

Answer all questions, each carries 3 marks.

Differentiate between control sections and program blocks with the help of an
example.
What is a load and go assembler?
What is the use of bitmask in program relocation? Illustrate with example.
Explain any one machine independent loader feature.

PART D

Answer any two full questions, each carries 9 marks.

Give the algorithm for pass 2 of a linking loader.
With a help of neat diagram explain what is a linkage editor?

Employ multipass assembler to evaluate the following expressions.

Source Statement
EQU MAXLEN/2
EQU BUFEND-BUFFER
EQU BUFFER-1
RESB 4096
EQU ೫

Give the algorithm for an absolute loader.
Give the format and purpose of the different record types present in an object
program that uses multiple control sections.
Develop the records (excluding header, text and end records) for the following
control section named COPY
നന്ന Source Statement
COPY START 0
EXTDEF BUFFER, BUFFEND, LENGTH

EXTREF RDREC,WRREC

0000 FIRST STL RETADR
CLOOP +JSUB RDREC
LDA LENGTH

Page 2 of 3

(5)

(4)

(3)

(3)
(3)
(3)

(5)
(4)
(6)

(3)
(4)

(5)

Similar Question Papers