Академический Документы
Профессиональный Документы
Культура Документы
Buses are the electrical paths to exchange data from one place to another place.
Types
internal external
Simplex:
Mobile Network
Sender Receiver
Human
Data Flow only in one Direction
i.e. only one sender and one receiver
Send, Received
Communication Modes:
Human 1 Human 2
Send, Received
Human 1 Human 2
Send, Received
Buses are the electrical paths to exchange data from one place to another place.
Types
internal external
Buses are the electrical paths to exchange data from one place to another place.
Hardware
Registers
Address Bar
Processing Elements
Data Bus
Main Memory
Control Bus
Registers
CPU
Registers
CPU
Why?
Optimization of Processing Time
Understanding of Hardware and Software interaction.
What?
Fastest Storage Area/location
“Quickly accessible by CPU as they
are built in to CPU” Registers are Built in memory inside the
CPU and access any data (i.e. stored in
Registers) very fast.
cs
• Program code are written in this section.
• When program is store in RAM it will hold the address of
the Memory where code segment is stored.
Types of Registers
CPU
There are 14 types of registers. Eax Rax a
Q.? Why 14 types of registers? Why not 1? ah al
6- Data Segment ax
cs
• Program data are written in this section.
• When program is store in RAM it will hold the address of ds
the Memory where data of program is stored.
Types of Registers
CPU
There are 14 types of registers. Eax Rax a
Q.? Why 14 types of registers? Why not 1? ah al
7- Stack Segment ax
cs
• It controls the memory management.
• It controls which data is enter in RAM first and which ds
data will out first. ss
• It hold the address of data which are load in memory.
e.g. of Stack FILO
Types of Registers
CPU
There are 14 types of registers. Eax Rax a
Q.? Why 14 types of registers? Why not 1? ah al
8- Extra Segment ax
cs
• When your code segment area is full then extra segment is used.
• It create the separate area in RAM where the code is written and ds
Segment
the address of that area store in this segment. Registers ss
• It will hold the address of that code segment area which is extra es
created when first one is full.
Types of Registers
CPU
There are 14 types of registers. Eax Rax a
Q.? Why 14 types of registers? Why not 1? ah al
9- Source Index ax
cs
Add 3, bl
Question? How CPU knows which one is either source or ds
Segment
destination Registers ss
Answer: Index
10- Destination es
Index si
• It points the destination operands. Registers di
Types of Registers
CPU
There are 14 types of registers.
Q.? Why 14 types of registers? Why not 1? cs
Segment ds
11- Instruction Pointer
Registers ss
es
f
bp
It Point this one