Lec02 Architecture
Lec02 Architecture
Edited by
Fehmida Sadaf Bhatti
Microcomputer concept
Processor Memory
I/O
Basic Computer
Organization
Address Bus
Data Bus
Processor Memory
Control Bus
Basic microcomputer design
• clock synchronizes CPU operations
• control unit (CU) coordinates sequence of
execution steps
• ALU performs arithmetic and logic operations
Basic microcomputer design
• The memory storage unit holds instructions and data for
a running program
• A bus is a group of wires that transfer data from one
part to another (data, address, control)
Clock
• synchronizes all CPU and BUS operations
• machine (clock) cycle measures time of a
single operation
• clock is used to trigger events
one cycle
program counter
instruction queue
• Fetch
• Decode
• Fetch
operands
• Execute
• Store output
Instruction execution cycle
program counter
instruction queue
• Fetch
• Decode
• Fetch
operands
• Execute
• Store output
Instruction execution cycle
program counter
instruction queue
• Fetch
• Decode
• Fetch
operands
• Execute
• Store output
Instruction execution cycle
program counter
instruction queue
• Fetch
• Decode
• Fetch
operands
• Execute
• Store output
Dimensions of Memory
Addresses
=
Of
Size of
00100011
Memory Memory
00100100
Cells 00100101
Instruction Groups