Professional Documents
Culture Documents
Chapter 2 - PC Components
Chapter 2 - PC Components
Chapter 2 - PC Components
PC Components
Chapter - 2
PC Components
I. Introduction
II. PC hardware
A computer consists of a set of components or modules of three basic types: processor,
memory, and I/O that communicate with each other. The components are connected through a
bus, a communication pathway connecting two or more devices (see Figure 1). It transfers data
between the processor, memory, and external devices.
8088. Consists of a 16-bit register and an 8-bit data bus and can address up to 1 million bytes of
internal memory. The registers in this processor process two bytes at a time, while the data bus
can transfer only one byte at a time.
8086. Consists of a 16-bit register and a 16-bit data bus and can address up to 1 million bytes of
internal memory.
80286. Consists of a 16-bit register and a 16-bit data bus and can address up to 16 million bytes
of internal memory. The processor operates in a real mode or protected mode, which enables an
operating system to perform multitasking and to protect them from each other
80386. Consists of a 32-bit register and a 32-bit data bus and can address up to 4 billion bytes of
internal memory. The processor operates on protected mode and supports virtual mode, where it
can swap a portion of memory onto disk.
80486. Consists of a 32-bit register, a 32-bit data bus, and a high-speed cache memory connected
to the processor through the bus. The cache memory stores a copy of essential instructions and
data. A check to the cache is made before the processor attempts to read the main memory
Pentium. Consists of a 32-bit register, a 64-bit data bus, and a separate caches for the data and
memory. The processor can decode and execute more than one instruction per clock cycle.
Pentium II and III. Consist of a Dual Independent Bus design that provides separate paths to
the system cache and memory. The processors are connected to a cache through a 64-bit wide
bus.
The random access memory (RAM) and the read-only memory (ROM) encompassed the
internal memory on the PC. Typically, an internal memory consists of N words of equal length.
Each word in memory is numbered or assigned a unique numerical address (0, 1, . ., N-1), which
can be read from or written into the memory.
Response time is the time from start to completion of a task. This also includes:
● Operating system overhead.
● Waiting for I/O and other processes
● Accessing disk and memory
● Time spent executing on the CPU or execution time.
CPU execution time is the total time a CPU spends computing on a given task. It also excludes
time for I/O or running other programs. This is also referred to as simply CPU time.
And,
(Performance of A / Performance of B)
= (Execution Time of B / Execution Time of A)
If given that Processor A is faster than processor B, that means execution time of A is less than
that of execution time of B. Therefore, performance of A is greater than that of B.
Example –
Machine A runs a program in 100 seconds, Machine B runs the same program in 125 seconds.
(Performance of A / Performance of B)
= (Execution Time of B / Execution Time of A)
= 125 / 100 = 1.25
Since clock cycle time and clock rate are reciprocals, so,
Execution time = CPU clock cycles / clock rate
Which gives,
Execution time
= Instruction Count x CPI x clock cycle time
= Instruction Count x CPI / clock rate