Compiled by
Compiled by
The data required to perform the arithmetic and logical functions are
inputs from the designated CPU registers and operands.
The ALU relies on basic items to perform its operations. These
include number systems, data routing circuits (adders/subtracters),
timing, instructions, operands, and registers.
•Typically, the ALU has direct input and output access to the
processor controller, main memory (random access memory or
RAM in a personal computer), and input/output devices.
•Inputs and outputs flow along an electronic path that is called a
bus.
•The input consists of an instruction word (sometimes called a
machine instruction word) that contains an operation code
(sometimes called an "op code"), one or more operands, and
sometimes a format code.
The operation code tells the ALU what operation to perform and the
operands are used in the operation. (For example, two operands might be
added together or compared logically.) The format may be combined with
the op code and tells, for example, whether this is a fixed-point or a floating-
point instruction. The output consists of a result that is placed in a storage
register and settings that indicate whether the operation was performed
successfully. (If it isn't, some sort of status will be stored in a permanent
place that is sometimes called the machine status word.)
Control Unit
The control unit maintains order within the
computer system and directs the flow of traffic
(operations) and data.
The control unit directs the entire computer system to carry out
stored program instructions.
The control unit must communicate with both the arithmetic logic
The control unit instructs the arithmetic logic unit which arithmetic
operations or logical operation is to be performed.
The control unit is literally in control.
How the CPU works
The CPU is centrally located on the motherboard.
Since the CPU carries out a large share of the work
in the computer, data pass continually through it.
The data come from the RAM and the units
(keyboard, drives, etc.). After processing, the data is
sent back to the RAM and the units.
It is the "engine" that goes into motion when you turn the computer on. A microprocessor
is designed to perform arithmetic and logic operations that make use of small number-
holding areas called registers. Typical microprocessor operations include adding,
subtracting, comparing two numbers, and fetching numbers from one area to another.
These operations are the result of a set of instructions that are part of the microprocessor
design.
When the computer is turned on, the microprocessor is designed to get the first instruction
from the basic input/output system (BIOS) that comes with the computer as part of its
memory. After that, either the BIOS, or the operating system that BIOS loads into
computer memory, or an application program is "driving" the microprocessor, giving it
instructions to perform.
Microchip
A microchip (sometimes just called a "chip") is a unit of packaged
computer circuitry (usually called an integrated circuit) that is
manufactured from a material such as silicon at a very small
scale. Microchips are made for program logic (logic or
microprocessor chips) and for computer memory (memory or
RAM chips).
CO-PROCESSOR
A special-purpose processing unit that assists the CPU in
performing certain types of operations.
By using a collection of wires and protocols, each slot allows you to add
functionality to the PC by inserting printed circuit boards (expansion boards),
such as soundcards, graphics cards, TV cards etc. These boards
communicate with the other hardware devices in the system by means of the
data bus which facilitates communication with the microprocessor.
There are three types of expansion slots:
1. ISA (Industry Standard Architecture)
This bus architecture was developed by IBM for their PC/XT and PC/AT
machines and became a de facto industry standard. Generally these are the
long black slots you see on the motherboard.