Академический Документы
Профессиональный Документы
Культура Документы
CSE211-computer architecture
SUBMITTED TO
MISS.pradeep kaur
LEC IN CSE/IT
LPU
SUBMITTED BY
Kartik sharma
ROLL NO-29
REG-3470070140
Q1. How many clock cycles are needed to execute
(a) LDA and STA
(b) BUN and BSA
(c) AND and ADD
Ans1-
(3) AND
D0T4: DR M[AR]
D0T5: AC AC ^DR, SC 0
ADD
D1T4: DRM[AR]
D1T5: ACAC + DR,ECout,SC0
Q2. Fetching and decoding of any instruction takes three clock
cycles. How?
Ans-3
Q4. How is I bit useful in determining the type of 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-5
A)MEMORY TRANSFER
The memory bus is the set of wires that is used to carry memory addresses and data to
and from the system RAM. The memory bus in most PCs is also shared with the
processor bus, connecting the system memory to the processor and the system chipset.
B) Most high performance 32-bit and 64-bit processors (some notable exceptions are
most ARM and 32-bit MIPS CPUs) have integrated floating point hardware, which is
often, but not always, based on 64-bit units of data.
An example
_ This example shows what happens during the interrupt cycle.
_ Suppose that an interrupt occurs and R is set to 1 while the control is
executing the instruction at address 255.
_ At this time, the return address 256 is in PC. The programmer has previously
placed an input—output service program in memory starting from address
1120 and a BUN 1120 instruction at address 1……
_ When control reaches timing signal T0 and finds that R = 1, it proceeds with
the interrupt cycle. The content of PC (256) is stored in memory location 0,
PC is set to 1, and R is cleared to 0. At the beginning of the next instruction
cycle, the instruction that is read from memory is in address 1 since this is
the content of PC.
_ The branch instruction at address 1 causes the program to transfer to the
input-output service program at address 1120.