Microprocessor vs microcomputer
Microprocessor vs microcomputer
Input / Output
• The input/output or I/O Section allows the computer to take in data
from the out side world or send data to the outside world.
• Peripherals such as keyboards, video display terminals, printers are
connected to I/O Port.
CPU(Central Processing Unit)
• In a microcomputer CPU is a microprocessor.
• The fetches binary coded instructions from memory, decodes the
instructions into a series of simple actions and carries out these
actions in a sequence of steps.
• The CPU also contains an address counter or instruction pointer
register, which holds the address of the next instruction or data item
to be fetched from memory.
Address Bus
• The address bus consists of 16, 20, 24 or 32 parallel signal lines.
• On these lines the CPU sends out the address of the memory location
that is to be written to or read from. The no of memory location that
the CPU can address is determined by the number of address lines.
• If the CPU has N address lines, then it can directly address 2N
memory locations i.e. CPU with 16 address lines can address 216 or
65536 memory locations.
Data Bus
• The data bus consists of 8, 16 or 32 parallel signal lines.
• The data bus lines are bi-directional.
• This means that the CPU can read data in from memory or it can send
data out to memory
Control Bus
• The control bus consists of 4 to 10 parallel signal lines.
• The CPU sends out signals on the control bus to enable the output of
addressed memory devices or port devices.
• Typical control bus signals are Memory Read, Memory Write, I/O
Read and I/O Write.
Components of CPU
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 Microprocessor and Memory and
Peripherals.
• The Control unit performs 2 basic tasks
- Sequencing
- Execution
Register Array
• These are storage devices to store data temporarily.
• There are different types of registers depending upon the
Microprocessors.
• These registers are primarily used to store data temporarily during
the execution of a program and are accessible to the user through the
instructions.
• General purpose Registers of 8086 includes AL, AH, BL, BH, CL, CH, DL,
DH
Thank you