CSE 211: Computer Organization and Design ONLINE Assignment No.2 General Instructions
CSE 211: Computer Organization and Design ONLINE Assignment No.2 General Instructions
General Instructions:
BLIND COPYING FROM INTERNET IS STRICTLY NOT ALLOWED, however you can
use the internet as reference, kindly mention it in the reference part
of your assignment/The assignment also specifies where you can get the
details. The purpose of on-line assignment is to bring the meaningful
learning outcome as well as to develop the writing and documentation
skills not for blind copy skills. IN CASE, BLATANT COPYING found,
FACULTY CAN APPLY University rules for evaluation and a ZERO will be
awarded and UMC case will be initiated.
Evaluation: 30 Marks
Roll Number:
Registration number:
Important: - in case of copy case both the students will get zero marks (sender and receiver). stick to
the values which is given in the question of your set. solving the question by taking other values will
lead to zero marks in that particular question.
Q1. Design a circuit of General register organization in which 16 registers are there from R0 to R15.
(a) Perform the following microoperation and explain the operation in the steps through the
diagram properly: - ADD R13 ,R7 ,R10 .
(b) Explain the control word as per the register configuration given above. [10 marks]
Q2. Explain the Register stack organization of 32 locations of stack (0 to 31 ). take the initial value of the
stack pointer is SP = 09 in Hex. Explain the following push and pop instructions through the Register
stack organization diagram.
(1) PUSH R2 WHERE R2 = XX in Hex
(2) POP R1 WHERE R1 = (XX + 5 ) in Hex where XX is your class roll no , for example roll
no 64 is having the data in R2 = 64 Hex and R1=( 64+5 = 69 Hex) [5 marks]
Q3. Explain the instruction format in detail as per the no of address in the instruction with examples?
[5 marks]
Q4. Find the values of the flags(carry ,sign ,zero,overflow) of the processor status register for the given
example of two 12 bit no’s in Hex (AB7 + DEF) and draw the circuit diagram also.
[5 marks]
Q5. The unique addresses assigned to the four registers (R5,R6,R7,R8) of the I/O interface are equal to
the XX3 , XX7 , XXB and XXF in Hex . Where XX is hex digits equal to your roll no . (if student is having roll
no 45 than address are 453 ,457 ,45B , 45F in Hex ) .Show the well labeled external circuit that must be
connected between 12-bit I/O address bus from the CPU and the CS, RSI, and RS0 Inputs of the Interface.
[5 marks]
Assignment – 2 (Set 2)
SECTION:
Roll Number:
Registration number:
Important: - in case of copy case both the students will get zero marks (sender and receiver). stick to
the values which is given in the question of your set. solving the question by taking other values will
lead to zero marks in that particular question.
Q1. Design a circuit of General register organization in which 4 registers are there from R0 to R3.
(a) Perform the following microoperation and explain the operation in the steps through the
diagram properly: - AND R3 ,R3 ,R1 .
(b) Explain the control word as per the register configuration given above. [10 marks]
Q2. Explain the Memory stack organization of 16 locations of stack( 0 to 15). take the initial value of the
stack pointer is SP = 0E in Hex. Explain the following push and pop instructions through the Memory
stack organization diagram.
(1) PUSH R5 WHERE R5 = XX in Hex
(2) POP R4 WHERE R4 = (XX + 3 ) Hex for example roll no 64 is having the data in R5 = 64
Hex and R4 is ( 64+3 = 67 Hex) [5 marks]
Q3. Explain the addressing modes in detail with the help of example of each? [5 marks]
Q4. Find the values of the flags (carry ,sign ,zero, overflow) of the processor status register for the given
example of two 8 bit no’s in Hex (A7 + EF) and draw the circuit diagram also. [5 marks]
Q5. The unique addresses assigned to the four registers (R11,R12,13,R14) of the I/O interface are equal
to the XX3 , XX7 , XXB and XXF in Hex . Where XX is hex digits equal to your roll no . (if student is having
roll no 45 than address are 453 ,457 ,45B , 45F in Hex ) .Show the well labeled external circuit that must
be connected between and 12-bit I/O address from the CPU and the CS, RSI, and RS0 Inputs of the
Interface. [5 marks]
Assignment – 3 (Set 3)
SECTION:
Roll Number:
Registration number:
Important: - in case of copy case both the students will get zero marks (sender and receiver). stick to
the values which is given in the question of your set. solving the question by taking other values will
lead to zero marks in that particular question.
Q1. Design a circuit of General register organization in which 2 registers are there from R0 to R1.
(a) Perform the following microoperation and explain the operation in the steps through the
diagram properly: - SUB R0 ,R0 ,R1 .
(b) Explain the control word as per the register configuration given above. [10 marks]
Q2. Explain the Register stack organization of 64 locations of stack(0 to 63). take the initial value of the
stack pointer is SP = 1F in Hex. Explain the following push and pop instructions through the Register
stack organization diagram.
(1) PUSH R9 WHERE R9 = (roll no ) Hex
(2) POP R8 WHERE R8 = (roll no + 5 ) Hex for example roll no 64 is having the data in R9 = 64
Hex and R8 is ( 64+5 = 69 Hex) [5 marks]
Q3. Explain the difference between RISC and CISC in detail ? [5 marks]
Q4. Find the values of the flags (carry ,sign ,zero, overflow) of the processor status register for the given
example of two 16 bit no’s in Hex (ABCD + 5678) and draw the circuit diagram also. [5 marks]
Q5. The unique addresses assigned to the four registers (R1,R2,R3,R4) of the I/O interface are equal to
the XX3 , XX7 , XXB and XXF in Hex . Where XX is hex digits equal to your roll no . (if student is having roll
no 45 than address are 453 ,457 ,45B , 45F in Hex ) .Show the well labeled external circuit that must be
connected between and 12-bit I/O address from the CPU and the CS, RSI, and RS0 Inputs of the
Interface. [5 marks]