CST202 Computer Organization and Architecture July 2021
CST202 Computer Organization and Architecture July 2021
B 02000csT2020s2L0s
*\
U'
I
Reg No.: Name:
Course Code:CSTz0z
' Course Name: Computer Organization and Architecture
Max. I\z{arks: 100 Duration: 3 Hours
n
PART
^
n6 A^
(Answer all questions; each question corries 3 marks) Marks
lq Compare auto increment and auto decrement addressing modes with examples
a
J
a
2 Outline the steps involved in the execution of an instruction. J
rt
a
J How is the two port memory organization of processor unit better when J
l0 Explain the term locality of reference. How is this related to cache memory? 3
PART B
(Answer onefull question from each module, each question carries 14 morks)
Module -1
l l a) Identify the addressing modes that can be used for representing the following 4
higher level language constructs in machine level. Illqstrate each addressing
mode using an example.
l) Anays
2) Pointers
3) Constants
4) Variables
Page 1 of 4
b) Illustrate the single bus organization of processor unit with the help of suitable l0
diagrams. Explain, listing the control signals, how the following operations are
handled in this organization.
i) Transfer contents of register R5 to Rl
ii) Move (R6), R2 (Fetch a wordfrom memory and move it to register R2, when
the memory address is stored in register R6 )
OR
'q2 a) Outline the differences in instruction execution during straight line sequencing 7
and branching using suitable examples.
(ASCII equivalent of charaeters in Johnsor in hex rvill be 44, 6F. 6& 6E.
Module -2
I 13 a) Illustrate and explain the organization of a processor unit where processor 7
registers and ALU are connected through common buses. Explain how the
micro operation R2 <-- R3+R4 would be performed using this organization,
where R2, R3 and R4 are processor registers.
b) Explain with the help of a block diagram the design of a 4 bit status register for 7
an 8 bit ALU. The four status bits are c (carry), s(sign), z(zero) and v
(overflow). Clearly indicate the purpose of each sf,atus bit and how they are set
or reset.
,OR
Page 2 of 4
14 a) Design and draw a combinational logic shifter using multiplexers with two l0
selection variables, H1 and Hn. The operations of shifter should be as specified
in the followins table:
Hr H6 Operation Function
0 0 S<-0 Transfer 0's to S
I I S.-F No shift
q b) Describe about arithmetic, logic and shift micro operations, listing the available
OR
16 a) Design and drarv the block diagram for a 4 by 3 array multiplier. 8
b) Explain the various method available to get rid of data hazards inside the 6
system
, Module -4
. 17 a) Illustrate the working of a micro program sequencer with the help of diagrams 7
., b) Outline with the help of a block diagram, how a micro program control unit can 7
: 6" used for controlling the processor unit.
OR
l8 Illustrate the steps for designing a micro programmed control circuit for the t4
addition and subtraction of binary numbers in sign magnitude form. Specify the
block diagram of control circuitry and the binary -i"ro prograrn for control
memory.
Module -5
19 a) Explain with examples the three types of mapping functions used in cache
memory
Page 3 of 4
i-
vl\
differences.
\
a'
,t
Page 4 of 4