01ce0402 Computer Organization and Architecture
01ce0402 Computer Organization and Architecture
Computer Engineering
B.Tech. Year - II
Contents:
Unit Topics Contact
Hours
3. The adder-subtractor circuit in following Fig has the following values for
input mode M and data inputs A and B. In each case, determine the values of
the outputs : S3, S2, S1, S0 and C4.
B3 A3 B2 A2 B1 A1 B0 A0
M A B M
I. 0 0111 0110
II. 0 1000 1001
III. 1 1100 1000 FA C3
FA C2
FA C1
FA C0
5. Design a digital circuit that performs the four logic operations of exclusive-
OR, exclusive-NOR, NOR, and NAND. Use two selection variables. Show the
logic diagram of one typical stage.
6. Register A holds the 8-bit binary 11011001. Determine the B operand and the
logic microoperation to be performed in order to change the value in A to :
I. 01101101
II. 11111101
7. The 8bit registers AR, BR, CR and DR initially have the following values :
AR = 11110010 BR = 11111111
CR = 10111001 DR = 11101010
Determine the 8bit values in each register after the execution of the following
sequence of micro-operations.
AR <- AR + BR
CR <- CR Λ DR, BR <- BR + 1
AR <- AR – CR
8. An output program resides in memory starting from address 2300. It is
executed after the computer recognizes an interrupt when FGO becomes a 1
(whileIEN = 1).
I. What instruction must be placed at address 1 ?
II. What must be the last two instruction of the output program?
9. Explain the difference between hardwired control and microprogrammed
control. Is it possible to have a hardwired control associated with a control
memory?
10. Define the following: (a) microoperation; (b) microinstruction;
(c) micro-program; (d) microcode.
11. Explain how the mapping from an instruction code to a microinstruction
address can be done by means of a read-only memory. What is the advantage
of this method?
12. Show how a 9-bit microoperation field in a microinstruction can be divided
into subfields to specify 46 microoperations. How many microoperations can
be specified in one microinstruction?
13. A computer has 16 registers, an ALU (Arithmetic Logic Unit) with 32
operations, and a shifter with eight operations, all connected to a common
bus system.
Syllabus for Bachelor of Technology
Computer Engineering
a. Formulate a control word for a microoperation.
b. Specify the number of bits in each field of the control word and give a
general encoding scheme.
c. Show the bits of the control word that specify the microoperation:
R4→R5+R6.
14. Convert the following arithmetic expressions from infix to reverse Polish
notation.
a. A * B + C * D + E * F
b. A * B + A * ( B * D + C * E)
c. A + B * [C * D + E * (F + G)]
d. A * [B + C *(D + E)]
F * (G + H)
Instructional Method:
a. The course delivery method will depend upon the requirement of content
and need of students. The teacher in addition to conventional teaching
method by black board, may also use any of tools such as demonstration, role
play, Quiz, brainstorming, MOOCs etc.
b. The internal evaluation will be done on the basis of continuous evaluation of
students in the laboratory and class-room.
c. Students will use supplementary resources such as online videos, NPTEL
videos, e-courses, Virtual Laboratory
Supplementary Resources:
1. NPTEL Lecture Series
2. http://www.intel.com/pressroom/kits/quickreffam.htm
3. web.stanford.edu/class/ee282/