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

Cst305 System Software, December 2021

Uploaded by

nishanathpathatt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Cst305 System Software, December 2021

Uploaded by

nishanathpathatt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

C I l00csT305t22t0l

Reg No.:

APJ ABDUL KALAM TECHNOLOGICAL TJNIVERSITY


Fifth Semester B.Tech Degrbe Examination December 2021

Course Code: CST305


Course Name: SYSTEM SOFTWARE
Max. Marks: 100 Duration:3 Hours

PART A
(Answer all quesfionq each question carries 3 marks) Marks
1' Explain the different I/O instructions in SIC. a
J

2 Describe the different instruction formats available in SIC/XE machine. a


J

a
With a simple example describe what is meant by forward reference and how is it
J J
handled in one pass assembler.
write a sequence of instructions for SIC/)G to set ALPHA equal to 4*BETA-9.
Use immediate addressing modes for constants and assume ALPHA and BETA
to be floating point numbers.

Give the structure and purpose of Modification record and Define record. 3

How is a feature of an assembler categorized as machine dependent or machine


?
independent? Support your answer with an example for each category.
Describe the structure and the use of the ESTAB data structure used in the two
Jt 3
pass linking loader.
Outline the need and functions of a bootstrap loader. 3

9
List the three data structures used in one pass macro processor and describe its .
J
usage.

With a simple diagram illustrate the communication pathway of an application


10 3
program to a device through a device driver.

PART B
(Answer one full question from each module, each question carries 14 marks)
Module -1
Compare the SIC and SICD(E architecture with respect to:
ll a)
(i) Registers (ii) Instruction Formats (iii) Data Formats Supported

b)
Illustrate the roles and functions of Operating System, Assembler, Compiler and g
Linker in a modern computer system.

Page 1 of 3

Downloaded from Ktunotes.in


I l00csr305l22lol

Compare the Input-Output capabilities of the SIC and SIC/)G machine. Also list
12 a)
-/ the VO instructions available in SIC and SIC/XE machines.
Describe the use of n,i,x,b,p and e bits in the SICD(E instruction format. Write
the binary combination for these bits such that the resultant target address would
b)
be as below and also state what would be the addressing modes for each.

i. (PC) + disp ii. (B) + disp iii. (PC) + disp + (X) iv. (B) + disp + (X)
Module -2
13 a) Outline in detail the function and algorithm for pass one of a two pass assembler. 8

b) Write a SIC program to perform linear search in an array of 100 elements. 6

*
q' Outline in detail the function and algorithm for the pass two of the two pass
'-------Q
A a)' 8
assembler.

Generate the assembled object program for the below SIC program. The machine

code for the instructions used are: LDX - 04, LDA - 00, ADD - 18, TD( - 2C,
STA - 0C, JLT - 38 and RSUB - 4C. Show the location counter value for each

instruction.
sH s*Fft {000
FTRST I'UII ZEFO
LT}A ZENO
b) rsop lxp rAF[*E,x 6

?rx c6xtT
Jrr r.ooF
srA firral"
Rstls
TeBrs RESW 2000
r CTX'}IT RESW 1
reRo lnnD 0
$orrl, REst{ I
EIID FICST

Module -3
Define Control Section. With an example illustrate how a control section is
15 a) declared within an assembly program and what are the constituents of the object 7

code program ofa control section.


What is the need of relocation in assembly programs? With a small example -
b)t
-/
illustrate how relocation is handled in assemblers.
Describe how the concepts
------r-- of segments
- are handled assembler for
in MASM
6
- - a)
16 -' -- ^ .' . r, ^ dr,
8086. Also compare near and far jump concept and its handling in MASM.
Define Program Blocks. With an example and diagram demonstrate how the
b)
different program blocks within an assembly program are organised within the

Page 2 of 3

Downloaded from Ktunotes.in


11mCST305l22l0l

memory. Also mention how the object code program for a program block is
organised.
Module -4
T7 a) Define Absolute loader and outline the algorithm for it. 6

b) Give the algorithm for the pass two of a two pass linker loader. 8

18 a) Write the algorithm for the pass one of a two pass linker loader. 7

List the different machine dependent and machine independe,nf features of a


b)
loader. Explain any two machine independent features.
Module -5
(19 a) Sane ttre algorithm for a one pass macro processor. 10

b) Distinguish between character and block device driver. 4

20 a) With a neat diagram outline the structure of a text editor. t0


b) Compare induction andbacktracking mode of debugging. 4

Page 3 of 3

Downloaded from Ktunotes.in

You might also like