Professional Documents
Culture Documents
Q2. Fetching and decoding of any instruction takes three clock cycles. How?
Ans: - During fetching and decoding of any instruction there takes three clock
cycles .1st the address is in PC and then send to AR , during this there is one clock
cycle has been taken.
After this instruction is fetched from the memory location and during this there is
one another clock cycle is completed .
And during decoding the instruction to their respective registers the third clock
cycle has been completed.
The process is shown below:
T0:AR<-PC.
T1:IR<-M[AR], PC<-PC+1
T3:D0....D7<-Decode IR(12-14), AR<-IR(0-11), I<-IR(15).
So during the process of fetching and decoding there are three clock cycles taken.
Q3. Draw timing diagram for D3T4: SC ← 0.
ANS:- I bit is useful in determining the type of instruction .1st we see the code in
the opcode ,if it is (1 1 1) then the instruction is not memory reference instruction
& if opcode is other than (1 1 1) which means it contains the 0 at any position
the it is a memory reference instruction and now the I bit tell the mode of address
is passed in the instruction. If I bit is 0 then the mode is direct & if the I bit is 1
then mode is indirect.
In case of other than memory reference instruction the I bit help in
differentiating the register reference instruction & the input output instruction. If I
bit is 0 then it is register reference instruction and if I bit is 1 then the instruction
is input output instruction.
Q5. (a) How are data, address and control buses involved in data transfer to
and from memory? Consider a computer system with 16 registers of 32 bit
each and RAM of 1GB. Calculate the size of data bus and address bus
required for the same.
(b) Find out register size of registers in Pentium Processor.
Ans.(a)Data,address and control bus involve in data transfer to and from memory
when data,address and control buses stored in memory can’t be processed directly
so data must be read from memory to a register where they can be operated on
with logic circuit.
The size of data bus will be four and address bus will be 32.
(b) The register size of register in Pentium processor will be 3.06 Ghz.
Q6. Why is micro programmed control better than hardwired? Identify some
situations when hardwired is preferred?
Q7. Demonstrate the execution of interrupt cycle with the help of an example.
Q8.The following Register transfer are executed in common bus system . For
each specify: (1) the binary value that must be applied to bus select input s2,
s1, and s0; (2) the register whose LD control input must be active; (if any) (3)
a memory read or write operation(if needed); (4) the operation in the adder
and logic circuit(if any).