Professional Documents
Culture Documents
Week 1
Week 1
Week 1
Architecture(CS 2006)
Bindu Agarwalla
1
COA
1. Computer??
2. Organization??
3. Architecture??
A Computer is an electronic device that accepts input from the outside world and
processes them according to some predefined instructions and prooduces output for
the outside world.
Computer
1. Input Devices
2. Memory
3.Processor
4. Output Devices
Memory
2. Memory
Primary Memory: RAM and ROM
Meaning of Memory capacity
bit
byte
nibble
word
Secondary memory
One instruction requires 7 clock cycle to complete its execution. How much time
is required for that instruction if the processor speed is 5 GHz?
Registers
1. Dedicated:
PC
MAR
MDR
IR
SP
MDR: Memory Data Register. It contains the data that is being read from
memory/ the data that is being written into memory during a write operation.
4. [MDR]→ IR
5. Decode the instruction.
4. [MDR]→ IR
5. Decode the instruction.
2 times.
1. To fetch the instruction.
2. To fetch the operand from memory location A
Basic Operational Concept
Example1 : ADD R1, A
Steps:
1. [PC]→ MAR
2. Generate the 'Read' Signal.
4. [MDR]→ IR
5. Decode the instruction.
3 times.
1. To fetch the instruction.
2. To fetch the operand from memory location A
3. To store the result into memory location A
A processor has 48-bit instructions composed of two fields: the first two bytes
contain the opcode and the remainder a memory operand address.How many bits
are needed for the Program Counter and the Instruction Register ?
Questions
a)At the end of a memory read operation, the MDR is loaded with a
binary combination, how that combination is interpreted as an instruction
or an operand to an instruction?