SlideShare a Scribd company logo
CSC 203 1.5
Computer System Architecture
Budditha Hettige
Department of Statistics and Computer Science
University of Sri Jayewardenepura
Computer ArchitectureComputer Architecture
2Computer System Architecture2011
What isWhat is Computer ArchitectureComputer Architecture??
• Set of data types, Operations, and features are
call its architecture
• It deals with those aspects that are visible to
user of that level
• Study of how to design those parts a computer
is called Computer Architecture
3Computer System Architecture2011
WhyWhy Computer ArchitectureComputer Architecture
• Maximum overall performance of system
keeping within cost constraints
• Bridge performance gap between slowest and
fastest component in a computer
• Architecture design
– Search the space of possible design
– Evaluate the performance of design choose
– Identify bottlenecks, redesign and repeat process
4Computer System Architecture2011
Computer OrganizationComputer Organization
• The Simple Computer concise with
– CPU
– I/O Devices
– Memory
– BUS (Connection method)
5Computer System Architecture2011
Simple ComputerSimple Computer
6Computer System Architecture2011
CPU – Central Processing UnitCPU – Central Processing Unit
• Is the “Brain”
• It Execute the program and stored in the main
memory
• Composes with several parts
– Control Unit
– Arithmetic and Logic Units
– Registers
7Computer System Architecture2011
RegistersRegisters
• High-speed memory
• Top of the memory hierarchy, and provide the
fastest way to access data
• Store temporary results
• Some useful registers
– PC – Program counters
• Point to the next instructions
– IR - Instruction Register
• Hold instruction currently being execute
8Computer System Architecture2011
Registers more…Registers more…
• Types
– User-accessible Registers
– Data registers
– Address registers
– General purpose registers
– Special purpose registers
– Etc.
9Computer System Architecture2011
InstructionInstruction
• Types
– Data handling and Memory operations
• Set, Move, Read, Write
– Arithmetic and Logic
• Add, subtract, multiply, or divide
• Compare
– Control flow
• Complex instructions
– Take many instructions on other computers
• saving many registers on the stack at once
• moving large blocks of memory
10Computer System Architecture2011
Parts of an instructionParts of an instruction
• Opcode
– Specifies the operation to be performed
• Operands
– Register values,
– Values in the stack,
– Other memory values,
– I/O ports
11Computer System Architecture2011
Type of the operationType of the operation
• Register-Register Operation
– Add, subtract, compare, and logical operations
• Memory Reference
– All loads from memory
• Multi Cycle Instructions
– Integer multiply and divide and all floating-point
operations
12Computer System Architecture2011
Fetch-Decode execute circleFetch-Decode execute circle
• Instruction fetch
– 32-bit instruction was fetched from the cache
• Decode
• Execute
• Memory Access
• Write back
13Computer System Architecture2011
Fetch-Decode execute circleFetch-Decode execute circle
14Computer System Architecture2011
MIcroprocessorsMIcroprocessors
• Processors can be identify by two main
parameters
– Speed (MHz/ GHz)
– Processor with
• Data bus
• Address bus
• Internal registers
15Computer System Architecture2011
Data busData bus
• Known as Front side bus, CPU bus and
Processor side bus
• Use between CPU and main chipset
• Define a size of memory
– 32 bit
– 64 bit etc.
16Computer System Architecture2011
Data busData bus
17Computer System Architecture2011
I/O Ports with data transfer ratesI/O Ports with data transfer rates
Controller Port / Device
Typical Data
Transfer Rate
Super I/O
PS/2 (keyboard / mouse) 2 KB/s
Serial Port 25 KB/s
Floppy Disk 125 KB/s
Parallel Port 200 KB/s
Southbridge
Integrated Audio 1 MB/s
Integrated LAN 12 MB/s
USB 60 MB/s
Integrated Video 133 MB/s
IDE (HDD, DVD) 133 MB/s
SATA (HDD, DVD) 300 MB/s
18Computer System Architecture2011
Address BusAddress Bus
• Carries addressing information
• Each wire carries a single bit
• Width indicates maximum amount of RAM
the processor can handle
• Data bus and address bus are independent
19Computer System Architecture2011
How CPU works?How CPU works?
• A Simple CPU
– 4 Bit Address bus
– Registers A, B and C (4 Bit)
– 8 Bit Program ( 4 BIT Instruction, 4 BIT Data)
20Computer System Architecture2011
How CPU works?How CPU works?
2011 Computer System Architecture 21
A B
C
IP
Instruction SET
0000 Sleep
0001 LOAD M → A
0010 LOAD M → B
0101 SET A → M
0110 SET B → M
1000 ADD A + B → C
1111 MOVE
1001 RESET
IC
ALUALU
Register CRegister C
Instruction CounterInstruction Counter
How CPU works?How CPU works?
2011 Computer System Architecture 22
A B
C
C
0 0 0 0
Instruction SET
0000 Sleep
0001 LOAD M → A
0010 LOAD M → B
0101 SET A → M
0110 SET B → M
0111 SET C → M
1000 ADD A + B → C
1 0 0 0 0 0 0 0 0
2 0 0 0 1 0 0 1 0
3 0 0 1 0 0 1 0 1
4 1 0 0 0 0 0 0 0
5 0 1 1 1 0 0 0 0
6
IC
01
How CPU works?How CPU works?
2011 Computer System Architecture 23
A B
C
C
0 0 0 1
Instruction SET
0000 Sleep
0001 LOAD M → A
0010 LOAD M → B
0101 SET A → M
0110 SET B → M
0111 SET C → M
1000 ADD A + B → C
1 0 0 0 0 0 0 0 0
2 0 0 0 1 0 0 1 0
3 0 0 1 0 0 1 0 1
4 1 0 0 0 0 0 0 0
5 0 1 1 1 0 0 0 0
6
0 0 1 0
IC
02
How CPU works?How CPU works?
2011 Computer System Architecture 24
A
0 0 1 0
B
C
C
0 0 1 0
Instruction SET
0000 Sleep
0001 LOAD M → A
0010 LOAD M → B
0101 SET A → M
0110 SET B → M
0111 SET C → M
1000 ADD A + B → C
1 0 0 0 0 0 0 0 0
2 0 0 0 1 0 0 1 0
3 0 0 1 0 0 1 0 1
4 1 0 0 0 0 0 0 0
5 0 1 1 1 0 0 0 0
6
0 1 0 1IC
03
How CPU works?How CPU works?
2011 Computer System Architecture 25
A
0 0 1 0
B
0 1 0 1
C
0 1 1 1
C
1 0 0 0
Instruction SET
0000 Sleep
0001 LOAD M → A
0010 LOAD M → B
0101 SET A → M
0110 SET B → M
0111 SET C → M
1000 ADD A + B → C
1 0 0 0 0 0 0 0 0
2 0 0 0 1 0 0 1 0
3 0 0 1 0 0 1 0 1
4 1 0 0 0 0 0 0 0
5 0 1 1 1 0 0 0 0
6 1 0 0 1 0 0 0 0
7 1 1 1 1 0 0 0 1
8
IC
04
How CPU works?How CPU works?
2011 Computer System Architecture 26
A
0 0 1 0
B
0 1 0 1
C
0 1 1 1
C
0 1 1 1
Instruction SET
0000 Sleep
1111 MOVE
1001 RESET
0101 SET A → M
0110 SET B → M
0111 SET C → M
1000 ADD A + B → C
1 0 0 0 0 0 0 0 0
2 0 0 0 1 0 0 1 0
3 0 0 1 0 0 1 0 1
4 1 0 0 0 0 0 0 0
5 0 1 1 1 1 1 1 1
6 1 0 0 1 0 0 0 0
7 1 1 1 1 0 0 0 1
8
0 1 1 1
IC
05
How CPU works?How CPU works?
2011 Computer System Architecture 27
A
0 0 1 0
B
0 1 0 1
C
0 1 1 1
C
1 0 0 1
Instruction SET
0000 Sleep
1111 MOVE
1001 RESET
0101 SET A → M
0110 SET B → M
0111 SET C → M
1000 ADD A + B → C
1 0 0 0 0 0 0 0 0
2 0 0 0 1 0 0 1 0
3 0 0 1 0 0 1 0 1
4 1 0 0 0 0 0 0 0
5 0 1 1 1 1 1 1 1
6 1 0 0 1 0 0 0 0
7 1 1 1 1 0 0 0 1
8 0 1 1 1
IC
06
How CPU works?How CPU works?
2011 Computer System Architecture 28
A
0 0 0 0
B
0 0 0 0
C
0 0 0 0
C
0 0 0 0
Instruction SET
0000 Sleep
1111 MOVE
1001 RESET
0101 SET A → M
0110 SET B → M
0111 SET C → M
1000 ADD A + B → C
1 0 0 0 0 0 0 0 0
2 0 0 0 1 0 0 1 0
3 0 0 1 0 0 1 0 1
4 1 0 0 0 0 0 0 0
5 0 1 1 1 1 1 1 1
6 1 0 0 1 0 0 0 0
7 1 1 1 1 0 0 0 1
8
IC
06
How CPU works?How CPU works?
2011 Computer System Architecture 29
A
0 0 0 0
B
0 0 0 0
C
0 0 0 0
C
1 1 1 1
Instruction SET
0000 Sleep
1111 MOVE
1001 RESET
0101 SET A → M
0110 SET B → M
0111 SET C → M
1000 ADD A + B → C
1 0 0 0 0 0 0 0 0
2 0 0 0 1 0 0 1 0
3 0 0 1 0 0 1 0 1
4 1 0 0 0 0 0 0 0
5 0 1 1 1 1 1 1 1
6 1 0 0 1 0 0 0 0
7 1 1 1 1 0 0 0 1
8
IC
07
How CPU works?How CPU works?
2011 Computer System Architecture 30
A
0 0 0 0
B
0 0 0 0
C
0 0 0 0
C
0 0 0 0
Instruction SET
0000 Sleep
1111 MOVE
1001 RESET
0101 SET A → M
0110 SET B → M
0111 SET C → M
1000 ADD A + B → C
1 0 0 0 0 0 0 0 0
2 0 0 0 1 0 0 1 0
3 0 0 1 0 0 1 0 1
4 1 0 0 0 0 0 0 0
5 0 1 1 1 1 1 1 1
6 1 0 0 1 0 0 0 0
7 1 1 1 1 0 0 0 1
8
IC
01
How BUS System works?How BUS System works?
2011 Computer System Architecture 31
DATA BUS
CPU
Device ADevice A Device BDevice B Device CDevice C
ADDRESS BUSADDRESS BUS
CONTROL BUSCONTROL BUS
How BUS System worksHow BUS System works
2011 Computer System Architecture 32
DATA BUS
ADDRESS BUSADDRESS BUS
CONTROL BUSCONTROL BUS
How BUS System worksHow BUS System works
2011 Computer System Architecture 33
DATA BUS
CPU
Device ADevice A Device BDevice B Device CDevice C
ADDRESS BUSADDRESS BUS
CONTROL BUSCONTROL BUS
ADDRESS BUS 4 BIT
DATA BUS 4 BIT
CONTROL BUS 2 BIT
How BUS System worksHow BUS System works
2011 Computer System Architecture 34
DATA BUS
ADDRESS BUSADDRESS BUS
CONTROL BUSCONTROL BUS
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0100
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0010
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0001
How BUS System worksHow BUS System works
2011 Computer System Architecture 35
DATA BUS
ADDRESS BUSADDRESS BUS
CONTROL BUSCONTROL BUS
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0100
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0010
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0001
0 0 0 00 0 0 00 0 0 0 0 00 0
How BUS System worksHow BUS System works
2011 Computer System Architecture 36
DATA BUS
ADDRESS BUSADDRESS BUS
CONTROL BUSCONTROL BUS
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0100
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0010
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0001
0 1 0 00 1 0 00 0 0 0 0 00 0
How BUS System worksHow BUS System works
2011 Computer System Architecture 37
DATA BUS
ADDRESS BUSADDRESS BUS
CONTROL BUSCONTROL BUS
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0100
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0010
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0001
0 1 0 00 1 0 01 01 0 1 01 0
How BUS System worksHow BUS System works
2011 Computer System Architecture 38
DATA BUS
ADDRESS BUSADDRESS BUS
CONTROL BUSCONTROL BUS
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0100
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0010
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0001
0 0 1 00 0 1 01 01 0 0 00 0
How BUS System worksHow BUS System works
2011 Computer System Architecture 39
DATA BUS
ADDRESS BUSADDRESS BUS
CONTROL BUSCONTROL BUS
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0100
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0010
CONTROL 2 BIT
01 – READ,
10 – Write
ADDRESS 0001
0 0 1 00 0 1 01 01 0 0 10 1

More Related Content

Similar to Computer System Architecture Lecture Note 3: computer architecture

Computer architecture control unit
Computer architecture control unitComputer architecture control unit
Computer architecture control unit
Mazin Alwaaly
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
Chapter7.pptx
Chapter7.pptxChapter7.pptx
Chapter7.pptx
radhushri
 
PLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumarPLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumarmanishkumarm
 
eel6935_ch2.pdf
eel6935_ch2.pdfeel6935_ch2.pdf
eel6935_ch2.pdf
Sambasiva62
 
Automationcontrol7
Automationcontrol7Automationcontrol7
Automationcontrol7liyanagek
 
Computer Architecture – An Introduction
Computer Architecture – An IntroductionComputer Architecture – An Introduction
Computer Architecture – An Introduction
Dilum Bandara
 
Micro PLC_Manal for new comer plc learner
Micro PLC_Manal for new comer plc learnerMicro PLC_Manal for new comer plc learner
Micro PLC_Manal for new comer plc learner
ssuser6cedd3
 
COA-Unit 1 Introduction.pptx
COA-Unit 1 Introduction.pptxCOA-Unit 1 Introduction.pptx
COA-Unit 1 Introduction.pptx
OmGadekar2
 
Memory Reference instruction
Memory Reference instructionMemory Reference instruction
Memory Reference instruction
mahesh kumar prajapat
 
05_04R201_1_C200 Hardware Configuration.ppt
05_04R201_1_C200 Hardware Configuration.ppt05_04R201_1_C200 Hardware Configuration.ppt
05_04R201_1_C200 Hardware Configuration.ppt
ssuserdfb799
 
Intro to IO-Link
Intro to IO-LinkIntro to IO-Link
Intro to IO-Link
Neil Farrow, P.E.
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
MeghdeepSingh
 
Wiring cp1 e_s_analogicas
Wiring cp1 e_s_analogicasWiring cp1 e_s_analogicas
Wiring cp1 e_s_analogicas
Mulyono Kaligawe
 
chapter 4
chapter 4chapter 4
chapter 4
GAGANAP12
 
**Understanding_CTS_Log_Messages.pdf
**Understanding_CTS_Log_Messages.pdf**Understanding_CTS_Log_Messages.pdf
**Understanding_CTS_Log_Messages.pdf
agnathavasi
 
Presentation on home automation system
Presentation on  home automation systemPresentation on  home automation system
Presentation on home automation system
Namit Sood
 
LCDF3_Chap_10_P1.ppt
LCDF3_Chap_10_P1.pptLCDF3_Chap_10_P1.ppt
LCDF3_Chap_10_P1.ppt
brainxMagic
 

Similar to Computer System Architecture Lecture Note 3: computer architecture (20)

Computer architecture control unit
Computer architecture control unitComputer architecture control unit
Computer architecture control unit
 
Chap0
Chap0Chap0
Chap0
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Chapter7.pptx
Chapter7.pptxChapter7.pptx
Chapter7.pptx
 
microprocessors
microprocessorsmicroprocessors
microprocessors
 
PLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumarPLC Circuit Design And Basic Programming By Manish kumar
PLC Circuit Design And Basic Programming By Manish kumar
 
eel6935_ch2.pdf
eel6935_ch2.pdfeel6935_ch2.pdf
eel6935_ch2.pdf
 
Automationcontrol7
Automationcontrol7Automationcontrol7
Automationcontrol7
 
Computer Architecture – An Introduction
Computer Architecture – An IntroductionComputer Architecture – An Introduction
Computer Architecture – An Introduction
 
Micro PLC_Manal for new comer plc learner
Micro PLC_Manal for new comer plc learnerMicro PLC_Manal for new comer plc learner
Micro PLC_Manal for new comer plc learner
 
COA-Unit 1 Introduction.pptx
COA-Unit 1 Introduction.pptxCOA-Unit 1 Introduction.pptx
COA-Unit 1 Introduction.pptx
 
Memory Reference instruction
Memory Reference instructionMemory Reference instruction
Memory Reference instruction
 
05_04R201_1_C200 Hardware Configuration.ppt
05_04R201_1_C200 Hardware Configuration.ppt05_04R201_1_C200 Hardware Configuration.ppt
05_04R201_1_C200 Hardware Configuration.ppt
 
Intro to IO-Link
Intro to IO-LinkIntro to IO-Link
Intro to IO-Link
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Wiring cp1 e_s_analogicas
Wiring cp1 e_s_analogicasWiring cp1 e_s_analogicas
Wiring cp1 e_s_analogicas
 
chapter 4
chapter 4chapter 4
chapter 4
 
**Understanding_CTS_Log_Messages.pdf
**Understanding_CTS_Log_Messages.pdf**Understanding_CTS_Log_Messages.pdf
**Understanding_CTS_Log_Messages.pdf
 
Presentation on home automation system
Presentation on  home automation systemPresentation on  home automation system
Presentation on home automation system
 
LCDF3_Chap_10_P1.ppt
LCDF3_Chap_10_P1.pptLCDF3_Chap_10_P1.ppt
LCDF3_Chap_10_P1.ppt
 

More from Budditha Hettige

Algorithm analysis
Algorithm analysisAlgorithm analysis
Algorithm analysis
Budditha Hettige
 
Sorting
SortingSorting
Link List
Link ListLink List
Link List
Budditha Hettige
 
Queue
QueueQueue
02 Stack
02 Stack02 Stack
Data Structures 01
Data Structures 01Data Structures 01
Data Structures 01
Budditha Hettige
 
Drawing Fonts
Drawing FontsDrawing Fonts
Drawing Fonts
Budditha Hettige
 
Texture Mapping
Texture Mapping Texture Mapping
Texture Mapping
Budditha Hettige
 
Lighting
LightingLighting
Viewing
ViewingViewing
OpenGL 3D Drawing
OpenGL 3D DrawingOpenGL 3D Drawing
OpenGL 3D Drawing
Budditha Hettige
 
2D Drawing
2D Drawing2D Drawing
2D Drawing
Budditha Hettige
 
Graphics Programming OpenGL & GLUT in Code::Blocks
Graphics Programming OpenGL & GLUT in Code::BlocksGraphics Programming OpenGL & GLUT in Code::Blocks
Graphics Programming OpenGL & GLUT in Code::Blocks
Budditha Hettige
 
Introduction to Computer Graphics
Introduction to Computer GraphicsIntroduction to Computer Graphics
Introduction to Computer Graphics
Budditha Hettige
 
Computer System Architecture Lecture Note 9 IO fundamentals
Computer System Architecture Lecture Note 9 IO fundamentalsComputer System Architecture Lecture Note 9 IO fundamentals
Computer System Architecture Lecture Note 9 IO fundamentals
Budditha Hettige
 
Computer System Architecture Lecture Note 8.1 primary Memory
Computer System Architecture Lecture Note 8.1 primary MemoryComputer System Architecture Lecture Note 8.1 primary Memory
Computer System Architecture Lecture Note 8.1 primary Memory
Budditha Hettige
 
Computer System Architecture Lecture Note 8.2 Cache Memory
Computer System Architecture Lecture Note 8.2 Cache MemoryComputer System Architecture Lecture Note 8.2 Cache Memory
Computer System Architecture Lecture Note 8.2 Cache Memory
Budditha Hettige
 
Computer System Architecture Lecture Note 7 addressing
Computer System Architecture Lecture Note 7 addressingComputer System Architecture Lecture Note 7 addressing
Computer System Architecture Lecture Note 7 addressing
Budditha Hettige
 
Computer System Architecture Lecture Note 6: hardware performance
Computer System Architecture Lecture Note 6: hardware performanceComputer System Architecture Lecture Note 6: hardware performance
Computer System Architecture Lecture Note 6: hardware performance
Budditha Hettige
 
Computer System Architecture Lecture Note 5: microprocessor technology
Computer System Architecture Lecture Note 5: microprocessor technologyComputer System Architecture Lecture Note 5: microprocessor technology
Computer System Architecture Lecture Note 5: microprocessor technology
Budditha Hettige
 

More from Budditha Hettige (20)

Algorithm analysis
Algorithm analysisAlgorithm analysis
Algorithm analysis
 
Sorting
SortingSorting
Sorting
 
Link List
Link ListLink List
Link List
 
Queue
QueueQueue
Queue
 
02 Stack
02 Stack02 Stack
02 Stack
 
Data Structures 01
Data Structures 01Data Structures 01
Data Structures 01
 
Drawing Fonts
Drawing FontsDrawing Fonts
Drawing Fonts
 
Texture Mapping
Texture Mapping Texture Mapping
Texture Mapping
 
Lighting
LightingLighting
Lighting
 
Viewing
ViewingViewing
Viewing
 
OpenGL 3D Drawing
OpenGL 3D DrawingOpenGL 3D Drawing
OpenGL 3D Drawing
 
2D Drawing
2D Drawing2D Drawing
2D Drawing
 
Graphics Programming OpenGL & GLUT in Code::Blocks
Graphics Programming OpenGL & GLUT in Code::BlocksGraphics Programming OpenGL & GLUT in Code::Blocks
Graphics Programming OpenGL & GLUT in Code::Blocks
 
Introduction to Computer Graphics
Introduction to Computer GraphicsIntroduction to Computer Graphics
Introduction to Computer Graphics
 
Computer System Architecture Lecture Note 9 IO fundamentals
Computer System Architecture Lecture Note 9 IO fundamentalsComputer System Architecture Lecture Note 9 IO fundamentals
Computer System Architecture Lecture Note 9 IO fundamentals
 
Computer System Architecture Lecture Note 8.1 primary Memory
Computer System Architecture Lecture Note 8.1 primary MemoryComputer System Architecture Lecture Note 8.1 primary Memory
Computer System Architecture Lecture Note 8.1 primary Memory
 
Computer System Architecture Lecture Note 8.2 Cache Memory
Computer System Architecture Lecture Note 8.2 Cache MemoryComputer System Architecture Lecture Note 8.2 Cache Memory
Computer System Architecture Lecture Note 8.2 Cache Memory
 
Computer System Architecture Lecture Note 7 addressing
Computer System Architecture Lecture Note 7 addressingComputer System Architecture Lecture Note 7 addressing
Computer System Architecture Lecture Note 7 addressing
 
Computer System Architecture Lecture Note 6: hardware performance
Computer System Architecture Lecture Note 6: hardware performanceComputer System Architecture Lecture Note 6: hardware performance
Computer System Architecture Lecture Note 6: hardware performance
 
Computer System Architecture Lecture Note 5: microprocessor technology
Computer System Architecture Lecture Note 5: microprocessor technologyComputer System Architecture Lecture Note 5: microprocessor technology
Computer System Architecture Lecture Note 5: microprocessor technology
 

Recently uploaded

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 

Recently uploaded (20)

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 

Computer System Architecture Lecture Note 3: computer architecture

  • 1. CSC 203 1.5 Computer System Architecture Budditha Hettige Department of Statistics and Computer Science University of Sri Jayewardenepura
  • 3. What isWhat is Computer ArchitectureComputer Architecture?? • Set of data types, Operations, and features are call its architecture • It deals with those aspects that are visible to user of that level • Study of how to design those parts a computer is called Computer Architecture 3Computer System Architecture2011
  • 4. WhyWhy Computer ArchitectureComputer Architecture • Maximum overall performance of system keeping within cost constraints • Bridge performance gap between slowest and fastest component in a computer • Architecture design – Search the space of possible design – Evaluate the performance of design choose – Identify bottlenecks, redesign and repeat process 4Computer System Architecture2011
  • 5. Computer OrganizationComputer Organization • The Simple Computer concise with – CPU – I/O Devices – Memory – BUS (Connection method) 5Computer System Architecture2011
  • 7. CPU – Central Processing UnitCPU – Central Processing Unit • Is the “Brain” • It Execute the program and stored in the main memory • Composes with several parts – Control Unit – Arithmetic and Logic Units – Registers 7Computer System Architecture2011
  • 8. RegistersRegisters • High-speed memory • Top of the memory hierarchy, and provide the fastest way to access data • Store temporary results • Some useful registers – PC – Program counters • Point to the next instructions – IR - Instruction Register • Hold instruction currently being execute 8Computer System Architecture2011
  • 9. Registers more…Registers more… • Types – User-accessible Registers – Data registers – Address registers – General purpose registers – Special purpose registers – Etc. 9Computer System Architecture2011
  • 10. InstructionInstruction • Types – Data handling and Memory operations • Set, Move, Read, Write – Arithmetic and Logic • Add, subtract, multiply, or divide • Compare – Control flow • Complex instructions – Take many instructions on other computers • saving many registers on the stack at once • moving large blocks of memory 10Computer System Architecture2011
  • 11. Parts of an instructionParts of an instruction • Opcode – Specifies the operation to be performed • Operands – Register values, – Values in the stack, – Other memory values, – I/O ports 11Computer System Architecture2011
  • 12. Type of the operationType of the operation • Register-Register Operation – Add, subtract, compare, and logical operations • Memory Reference – All loads from memory • Multi Cycle Instructions – Integer multiply and divide and all floating-point operations 12Computer System Architecture2011
  • 13. Fetch-Decode execute circleFetch-Decode execute circle • Instruction fetch – 32-bit instruction was fetched from the cache • Decode • Execute • Memory Access • Write back 13Computer System Architecture2011
  • 14. Fetch-Decode execute circleFetch-Decode execute circle 14Computer System Architecture2011
  • 15. MIcroprocessorsMIcroprocessors • Processors can be identify by two main parameters – Speed (MHz/ GHz) – Processor with • Data bus • Address bus • Internal registers 15Computer System Architecture2011
  • 16. Data busData bus • Known as Front side bus, CPU bus and Processor side bus • Use between CPU and main chipset • Define a size of memory – 32 bit – 64 bit etc. 16Computer System Architecture2011
  • 17. Data busData bus 17Computer System Architecture2011
  • 18. I/O Ports with data transfer ratesI/O Ports with data transfer rates Controller Port / Device Typical Data Transfer Rate Super I/O PS/2 (keyboard / mouse) 2 KB/s Serial Port 25 KB/s Floppy Disk 125 KB/s Parallel Port 200 KB/s Southbridge Integrated Audio 1 MB/s Integrated LAN 12 MB/s USB 60 MB/s Integrated Video 133 MB/s IDE (HDD, DVD) 133 MB/s SATA (HDD, DVD) 300 MB/s 18Computer System Architecture2011
  • 19. Address BusAddress Bus • Carries addressing information • Each wire carries a single bit • Width indicates maximum amount of RAM the processor can handle • Data bus and address bus are independent 19Computer System Architecture2011
  • 20. How CPU works?How CPU works? • A Simple CPU – 4 Bit Address bus – Registers A, B and C (4 Bit) – 8 Bit Program ( 4 BIT Instruction, 4 BIT Data) 20Computer System Architecture2011
  • 21. How CPU works?How CPU works? 2011 Computer System Architecture 21 A B C IP Instruction SET 0000 Sleep 0001 LOAD M → A 0010 LOAD M → B 0101 SET A → M 0110 SET B → M 1000 ADD A + B → C 1111 MOVE 1001 RESET IC ALUALU Register CRegister C Instruction CounterInstruction Counter
  • 22. How CPU works?How CPU works? 2011 Computer System Architecture 22 A B C C 0 0 0 0 Instruction SET 0000 Sleep 0001 LOAD M → A 0010 LOAD M → B 0101 SET A → M 0110 SET B → M 0111 SET C → M 1000 ADD A + B → C 1 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 1 0 3 0 0 1 0 0 1 0 1 4 1 0 0 0 0 0 0 0 5 0 1 1 1 0 0 0 0 6 IC 01
  • 23. How CPU works?How CPU works? 2011 Computer System Architecture 23 A B C C 0 0 0 1 Instruction SET 0000 Sleep 0001 LOAD M → A 0010 LOAD M → B 0101 SET A → M 0110 SET B → M 0111 SET C → M 1000 ADD A + B → C 1 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 1 0 3 0 0 1 0 0 1 0 1 4 1 0 0 0 0 0 0 0 5 0 1 1 1 0 0 0 0 6 0 0 1 0 IC 02
  • 24. How CPU works?How CPU works? 2011 Computer System Architecture 24 A 0 0 1 0 B C C 0 0 1 0 Instruction SET 0000 Sleep 0001 LOAD M → A 0010 LOAD M → B 0101 SET A → M 0110 SET B → M 0111 SET C → M 1000 ADD A + B → C 1 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 1 0 3 0 0 1 0 0 1 0 1 4 1 0 0 0 0 0 0 0 5 0 1 1 1 0 0 0 0 6 0 1 0 1IC 03
  • 25. How CPU works?How CPU works? 2011 Computer System Architecture 25 A 0 0 1 0 B 0 1 0 1 C 0 1 1 1 C 1 0 0 0 Instruction SET 0000 Sleep 0001 LOAD M → A 0010 LOAD M → B 0101 SET A → M 0110 SET B → M 0111 SET C → M 1000 ADD A + B → C 1 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 1 0 3 0 0 1 0 0 1 0 1 4 1 0 0 0 0 0 0 0 5 0 1 1 1 0 0 0 0 6 1 0 0 1 0 0 0 0 7 1 1 1 1 0 0 0 1 8 IC 04
  • 26. How CPU works?How CPU works? 2011 Computer System Architecture 26 A 0 0 1 0 B 0 1 0 1 C 0 1 1 1 C 0 1 1 1 Instruction SET 0000 Sleep 1111 MOVE 1001 RESET 0101 SET A → M 0110 SET B → M 0111 SET C → M 1000 ADD A + B → C 1 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 1 0 3 0 0 1 0 0 1 0 1 4 1 0 0 0 0 0 0 0 5 0 1 1 1 1 1 1 1 6 1 0 0 1 0 0 0 0 7 1 1 1 1 0 0 0 1 8 0 1 1 1 IC 05
  • 27. How CPU works?How CPU works? 2011 Computer System Architecture 27 A 0 0 1 0 B 0 1 0 1 C 0 1 1 1 C 1 0 0 1 Instruction SET 0000 Sleep 1111 MOVE 1001 RESET 0101 SET A → M 0110 SET B → M 0111 SET C → M 1000 ADD A + B → C 1 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 1 0 3 0 0 1 0 0 1 0 1 4 1 0 0 0 0 0 0 0 5 0 1 1 1 1 1 1 1 6 1 0 0 1 0 0 0 0 7 1 1 1 1 0 0 0 1 8 0 1 1 1 IC 06
  • 28. How CPU works?How CPU works? 2011 Computer System Architecture 28 A 0 0 0 0 B 0 0 0 0 C 0 0 0 0 C 0 0 0 0 Instruction SET 0000 Sleep 1111 MOVE 1001 RESET 0101 SET A → M 0110 SET B → M 0111 SET C → M 1000 ADD A + B → C 1 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 1 0 3 0 0 1 0 0 1 0 1 4 1 0 0 0 0 0 0 0 5 0 1 1 1 1 1 1 1 6 1 0 0 1 0 0 0 0 7 1 1 1 1 0 0 0 1 8 IC 06
  • 29. How CPU works?How CPU works? 2011 Computer System Architecture 29 A 0 0 0 0 B 0 0 0 0 C 0 0 0 0 C 1 1 1 1 Instruction SET 0000 Sleep 1111 MOVE 1001 RESET 0101 SET A → M 0110 SET B → M 0111 SET C → M 1000 ADD A + B → C 1 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 1 0 3 0 0 1 0 0 1 0 1 4 1 0 0 0 0 0 0 0 5 0 1 1 1 1 1 1 1 6 1 0 0 1 0 0 0 0 7 1 1 1 1 0 0 0 1 8 IC 07
  • 30. How CPU works?How CPU works? 2011 Computer System Architecture 30 A 0 0 0 0 B 0 0 0 0 C 0 0 0 0 C 0 0 0 0 Instruction SET 0000 Sleep 1111 MOVE 1001 RESET 0101 SET A → M 0110 SET B → M 0111 SET C → M 1000 ADD A + B → C 1 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 1 0 3 0 0 1 0 0 1 0 1 4 1 0 0 0 0 0 0 0 5 0 1 1 1 1 1 1 1 6 1 0 0 1 0 0 0 0 7 1 1 1 1 0 0 0 1 8 IC 01
  • 31. How BUS System works?How BUS System works? 2011 Computer System Architecture 31 DATA BUS CPU Device ADevice A Device BDevice B Device CDevice C ADDRESS BUSADDRESS BUS CONTROL BUSCONTROL BUS
  • 32. How BUS System worksHow BUS System works 2011 Computer System Architecture 32 DATA BUS ADDRESS BUSADDRESS BUS CONTROL BUSCONTROL BUS
  • 33. How BUS System worksHow BUS System works 2011 Computer System Architecture 33 DATA BUS CPU Device ADevice A Device BDevice B Device CDevice C ADDRESS BUSADDRESS BUS CONTROL BUSCONTROL BUS ADDRESS BUS 4 BIT DATA BUS 4 BIT CONTROL BUS 2 BIT
  • 34. How BUS System worksHow BUS System works 2011 Computer System Architecture 34 DATA BUS ADDRESS BUSADDRESS BUS CONTROL BUSCONTROL BUS CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0100 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0010 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0001
  • 35. How BUS System worksHow BUS System works 2011 Computer System Architecture 35 DATA BUS ADDRESS BUSADDRESS BUS CONTROL BUSCONTROL BUS CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0100 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0010 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0001 0 0 0 00 0 0 00 0 0 0 0 00 0
  • 36. How BUS System worksHow BUS System works 2011 Computer System Architecture 36 DATA BUS ADDRESS BUSADDRESS BUS CONTROL BUSCONTROL BUS CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0100 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0010 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0001 0 1 0 00 1 0 00 0 0 0 0 00 0
  • 37. How BUS System worksHow BUS System works 2011 Computer System Architecture 37 DATA BUS ADDRESS BUSADDRESS BUS CONTROL BUSCONTROL BUS CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0100 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0010 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0001 0 1 0 00 1 0 01 01 0 1 01 0
  • 38. How BUS System worksHow BUS System works 2011 Computer System Architecture 38 DATA BUS ADDRESS BUSADDRESS BUS CONTROL BUSCONTROL BUS CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0100 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0010 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0001 0 0 1 00 0 1 01 01 0 0 00 0
  • 39. How BUS System worksHow BUS System works 2011 Computer System Architecture 39 DATA BUS ADDRESS BUSADDRESS BUS CONTROL BUSCONTROL BUS CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0100 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0010 CONTROL 2 BIT 01 – READ, 10 – Write ADDRESS 0001 0 0 1 00 0 1 01 01 0 0 10 1