Internal CPU Interconnection
Internal CPU Interconnection
Interconnection
INTRODUCTION TO MICROPROCESSORS
The block diagram shows that the computer has four components:
Memory, Input, Output, and the central processing unit (CPU), which consists
of the ALU (Arithmetic/Logic Unit) and Control Unit. The CPU contains various
registers to store data, the arithmetic/logic unit (ALU) to perform arithmetic and
logical operations, instruction decoders, counters, and control lines. The CPU
reads instructions from the memory and performs the tasks specified. It
communicates with input/output devices either to accept or to send data.
These devices are also known as peripherals. The CPU is the primary and
central player in communicating with such devices as memory, input, and
output. However, the timing of the communication process is controlled by the
group of circuits called the control unit.
MICROCOMPUTER ORGANIZATION
Register Array. This area of the microprocessor consists of various registers. These registers
are primarily used to store data temporarily during the execution of a program. Some of the
registers are accessible to the user through instructions.
Control Unit. The control unit provides the necessary timing and control signals to all the
operations in the microcomputer. It controls the flow of data between the micropro- cessor
and memory and peripherals.
Input. The input section transfers data and instructions in binary from the outside world to the
microprocessor. It includes such devices as a keyboard, a teletype, and an analog-to- digital
converter.
Output. The output section transfers data from the microprocessor to such
output devices as light emitting diodes (LEDs), a cathode-ray tube (CRT), a
printer, a magnetic tape, or another computer. Typically, single-board computers
include LEDs and seven-segment LEDs as output devices.
Memory. stores such binary information as instructions and data, and provides
that information to the microprocessor whenever necessary. To execute
programs, the micropro- cessor reads instructions and data from memory and
performs the computing operations in its ALU section. Results are either
transferred to the output section for display or stored in memory for later use.
The memory block has two sections: Read-Only Memory (ROM) and
Read/Write Memory (R/WM), popularly known as Random Access Memory
(RAM).
The ROM is used to store programs that do not need alterations. The monitor pro- gram of a
single-board microcomputer is generally stored in the ROM. This program interprets the
information entered through a keyboard and provides equivalent binary digits to the
microprocessor. Programs stored in the ROM can only be read; they cannot be altered.
The Read/Write Memory (R/WM) is also known as user memory. It is used to store user
programs and data. In single-board microcomputers, the monitor program monitors the Hex
keys and stores those instructions and data in the R/W memory. The information stored in
this memory can be easily read and altered.