1.1 Introduction
A microcomputer system is a complete, small-scale computing system
built around a microprocessor as its central processing unit (CPU). It is
capable of performing all essential computing operations such as input,
processing, storage, and output of data.
According to M. Morris Mano (Computer System Architecture, 3rd
Edition), a microcomputer system consists of several interconnected
components that work together to execute instructions and perform tasks.
A typical microcomputer includes the following primary components:
Central Processing Unit (CPU)
Memory Unit
Input Devices
Output Devices
Storage Devices
System Bus
Peripheral Devices and Interfaces
Each of these components plays a unique and essential role in the
operation of a microcomputer system.
1.2 Central Processing Unit (CPU)
1.2.1 Overview
The CPU is the brain of the microcomputer system. It is responsible for
executing instructions, performing calculations, and controlling data
flow between different components of the computer.
As described by Barry B. Brey (The Intel Microprocessors, 7th
Edition), the CPU in a microcomputer typically consists of:
Arithmetic and Logic Unit (ALU)
Control Unit (CU)
Registers
1.2.2 Arithmetic and Logic Unit (ALU)
The ALU performs all arithmetic operations (such as addition,
subtraction, multiplication, and division) and logical operations (such as
, AND, OR, NOT, and comparisons).
Example:
When performing 5 + 3, the ALU adds the numbers and produces the
result 8, which is temporarily stored in a register.
1.2.3 Control Unit (CU)
The Control Unit directs the operation of the processor. It fetches
instructions from memory, decodes them, and issues control signals to
execute them.
Practical Illustration:
When the CPU executes a program, the control unit ensures each
instruction is performed in the correct sequence fetching the next
instruction once the current one completes.
1.2.4 Registers
Registers are high-speed memory locations within the CPU used to hold
data temporarily during processing.
Example:
The Accumulator Register holds intermediate arithmetic results, while
the Program Counter (PC) keeps track of the next instruction’s address.
1.3 Memory Unit
1.3.1 Overview
The memory unit stores data and instructions needed for processing.
Memory is broadly categorized into primary (main) memory and
secondary (auxiliary) memory.
According to Ytha Yu and Charles Marut (Assembly Language
Programming and Organization of the IBM PC), the memory system
serves as the communication link between the CPU and the program
being executed.
1.3.2 Primary Memory
Primary memory is directly accessible by the CPU. It includes:
RAM (Random Access Memory): Volatile memory used for
temporary storage while the computer is running.
Example: When typing in MS Word, unsaved data is stored in RAM.
ROM (Read Only Memory): Non-volatile memory containing
permanent instructions such as the BIOS.