Lecture 1 Computer Fundamentals
Lecture 1 Computer Fundamentals
Computer architecture refers to the definition of basic attributes of hardware components and their
interconnections, in order to achieve certain specified goals in terms of functions and performance. The
attributes may include, for example the instruction set, data representation, I/O mechanisms, etc. The
architecture basically defines the logical structure of a computer system.
The function of any computer system revolves around a central component known as central processing
unit (CPU). The CPU, which is popularly referred to as the “brain” of the computer, is responsible for
processing the data inside the computer system. It is also responsible for controlling all other components
of the system The central processing unit consists of the following subsystems:
Arithmetic Unit (AU)
Logic Unit (LU) ∑
Control Unit (CU)
Logic Unit
Logic Unit (LU) is a part of the CPU that performs logical operations on the data. It performs 16
different types of logical operations. The various logical operations include greater than (>), less than (<),
equal to (=), not equal to (≠), shift left, shift right, etc. LU makes use of various logic gates, such as
AND, OR, NOR, etc for performing the logical operations on the data.
Control Unit
Control Unit (CU) is an important component of CPU that controls the flow of data and information. It
maintains the sequence of operations being performed by the CPU. It fetches an instruction from the
storage area, decodes the instruction and transmits the corresponding signals to the AU or LU and the
storage registers. CU guides the AU and LU about the operations that are to be performed and also
suggests the I/O devices to which the data is to be communicated. CU uses a program counter register for
retrieving the next instruction that is to be executed. It also uses a status register for handling conditions
such as overflow of data.
Registers
Central processing unit contains a few special purpose, temporary storage units known as registers. They
are high-speed memory locations used for holding instructions, data and intermediate results that are
currently being processed. A processor can have different types of registers to hold different types of
information. They include, among others:
Program Counter (PC) to keep track of the next instruction to be executed.
Instruction Register (IR) to hold instructions to be decoded by the control unit.
Memory Address Register (MAR) to hold the address of the next location in the memory to be
accessed.
Memory Buffer Register (MBR) for storing data received from or sent to CPU.
Memory Data Register (MDR) for storing operands and data.
Accumulator (ACC) for storing the results produced by arithmetic and logic units.