Anda di halaman 1dari 3

Chapter 4

1. Design a typical stage that implement the following logic micro-operation


P1 : A

A B'

P2 : A

A B '

P3 : A

A B

P4 : A

AB

2. What do you mean by register transfer language (RTL)?


3. What is the relationship between instructions and micro-operations?
4. Starting from initial value of R = 110111110, determine the sequence of
binary values in R after the logical shift- left, followed by a circular shiftright, followed by a logical shift-right and a circular shift-left.
5. A digital computer has a common bus system for 16 registers of 32 bits each.
The bus is constructed with multiplexers.
a) How many multiplexers are there in the bus?
b) What size of multiplexer are needed?
6. Design an arithmetic circuit with one selection variable S and two n-bit data
inputs A and B. The circuit generates the following four arithmetic operations
in conjunction will the input carry C in. Draw the logic diagram for the first two
stages.

Cin=0

Cin=1

D=A+B

D=A+1

D=A-1

D=A+B+1

7. Explain insert operation and clear operation with example.


8. Design a 4-bit combinational circuit decrementer using four full-adder circuits.
9. Design a combinational circuit of 4-bit adder-subtractor.
10.
Show the block diagram of hardware that implements the following
register transfer statements:
yT2 : R2 R1, R1 R2

Chapter 5
1. What is the overall function of a processors control unit?
2. Differentiate between BUN and BSA?
3. What is the difference between a direct and an indirect address instruction?
How many references to memory are needed for each type of instructions to
bring an operand into a processor register
4. A computer uses a memory unit with 256k words of 32 bits each. A binary
instruction code is stored in one word of memory. The instruction has four
parts: an indirect bit, an operation code, a register code part to specify one of
64
registers,
and
an
address
part.
A) how many bits are there in the operation code, the register code part, and
the
address
part?
B) draw the instruction word format and indicate the number of bits in each
part.
C) how many bits are there in the data and address inputs of the memory?
5. Differentiate between hardwired control unit and microprogrammed control
unit.Draw the block diagram of hardwired control unit of basic computer and
explain.
6. What are the various phases of instruction cycle? Explain register transfer for
Fetch phase.
7. The following control inputs are active in the bus system, for each case,
specify the register transfer that will be executed during the next clock
transition:
S
2

S1

S0

LD of
regis
ter

Memo
ry

Adde
r

IR

Read

PC

DR

Write

AC

Add

8. Explain different computer registers. Illustrate how basic computer registers


connected to common bus.
9. Draw a flowchart for interrupt cycle.
10.What are the two instructions needed in the basic computer in order to set the
E flip flop to 1 ?

Chapter 8
1. Convert the following arithmetic expression from infix to postfix notation:
Y= (A+B)*(C+D)
2. Explain different addressing modes.
3. Draw a block diagram of general register organization.
4. Write the sequence of micro-operations required for the bus structure to add a
number to the AC when the number is
a. An immediate operand
b. A direct address operand
c. An indirect- address operand
5. Write a program to evaluate the arithmetic statement: X= (A + B)
*(C+D)*(G+H) by
i. Using three address instructions.
ii. Using two address instructions
iii. Using one address instructions
iv. Using zero address operation instructions.

Anda mungkin juga menyukai