Lecturer: Dr. Daniel MakupiInstitution: Murang'a UniversityFocus: Computer organization and CPU architecture
This section introduces the basic structure and architecture of a microprocessor-based system, highlighting the critical interaction between components and their roles.
Microprocessor:
The central processing unit (CPU) that executes instructions by performing arithmetic and logical operations.
Operates at high speed, coordinating all actions within the computer system.
Input Devices:
Components such as keyboards, mouse, and sensors used to enter data into the system.
Facilitate user interaction and data entry.
Output Devices:
Components that present processed data to the user, including monitors, printers, and speakers.
Convert digital data into human-readable formats.
Memory:
Encompasses Read/Write Memory (R/W Memory), which allows for data and instructions to be stored and modified, and Read-Only Memory (ROM), which retains permanent data.
Communication Path (Bus):
A set of physical connections (wires) through which data and signals are communicated among components.
Essential for data transfer between the CPU, memory, and peripheral devices.
These collective components form what is known as a microcomputer system.
Peripheral: Refers to devices that provide input/output functionality, which can be external to the microprocessor.
Key components include:
Microprocessor: Core processing unit.
Input Devices: For data entry.
Output Devices: For displaying results.
ALU (Arithmetic Logic Unit): Performs arithmetic and logical operations.
Register Array: Contains registers for temporary storage.
System Bus: Facilitates communication between components.
Control Unit: Directs the operation of the processor.
ROM: Stores firmware and essential programs.
R/W Memory: User memory for data storage.
The microprocessor is a semiconductor device implemented with electronic logic circuits to process data.
Manufacturing Technologies:
Designed using LSI (Large Scale Integration) or VLSI (Very Large Scale Integration) techniques, allowing a high density of components on a single chip.
Functionality:
Integrates all necessary logic circuitry, including the control unit, the ALU, and registers.
The microprocessor architecture comprises three primary segments:
ALU (Arithmetic Logic Unit): Handles all arithmetic and logical operations.
Register Array: Includes a collection of registers that temporarily hold data during processing.
Control Unit: Coordinates the actions of the processor and manages the execution of instructions.
Computing Functions:
Executes arithmetic functions (addition, subtraction) and logic operations (AND, OR, XOR).
Results generated by the ALU are stored either in registers or moved to memory.
Register Array:
Comprises general-purpose and special-purpose registers, utilized for temporary data storage and instruction execution.
Some registers may be user-accessible through specific instructions, allowing manipulation of data directly in the CPU.
Responsible for generating timing and control signals that govern the microcomputer’s operations.
Oversees data movement between the microprocessor, memory, and peripheral devices.
Transfers processed data to output devices. Possible outputs may include:
Light Emitting Diodes (LEDs) for visual displays
Cathode Ray Tubes (CRTs) for older display technologies
Printers for hard copy output
Networking communication to other computers for data sharing.
Memory serves a vital role in storing binary information, which includes both data and instructions needed for program execution.
It supplies the microprocessor with instructions from where it will perform operations in the ALU.
The results from operations may either be sent immediately to the output section or stored for later use.
Reinforces the critical functions of memory for both instruction and data storage.
Highlights memory's importance in supporting program execution alongside the ALU, providing help to augment performance and control.
ROM retains permanent data and programs that do not require alteration.
Typically stores essential monitoring programs or firmware for initial boot processes of microcomputers.
Facilitates device interpretation, converting information from components like keyboards into binary data for processing by the microprocessor.
Data stored in ROM is readable but not alterable by the user.
Also referred to as user memory, this memory type allows users to store programs and data that may change throughout operation.
Facilitates both reading and writing, enabling easy modification of information as required during system operation.
Includes the monitor program of single board computers, responsible for managing data inputs from user interfaces such as Hex keys and maintaining this information in R/W Memory.
The system bus serves as the communication pathway between the microprocessor and peripheral devices.
Consists of multiple conductors (wires) designed to carry bits of information.
Although multiple peripheral devices may be connected, the microprocessor communicates with each peripheral sequentially.
The control unit manages timing to synchronize data exchanges between the CPU and peripherals.