Microprocessor
Advance Technology
Contents
About microprocessor system.
Microcontroller system.
Data Bus
CPU
General-
Serial
Purpose RAM ROM I/O Timer COM
Micro- Port
Port
processor
Address Bus
o CPU (Central Processing Unit)
Execute information stored in memory
oMemory
RAM (Random Access Memory) – temporary
storage of programs that computer is running. The data is
lost when computer is off.
ROM (Read Only Memory) –
contains programs and information essential to
operation of the computer.
The information cannot be changed by user and is not
lost when power is off - It is called nonvolatile memory
Buses
Carries information from place to place
The CPU is connected to memory and I/O through
strips of wire called a bus
Address bus
Data bus
Control bus
Registers
The CPU uses registers to store information
temporarily.
ALU (arithmetic/logic unit)
Performs arithmetic functions such as add, subtract,
multiply, and divide, and logic functions such as AND, OR,
and NOT
Program counter
Points to the address of the next instruction to be executed
Instruction decoder
Interprets the instruction fetched into the CPU
Introduction to
Microcontroller
Advance Technology
Microcontroller
• A smaller computer
• On-chip RAM, ROM, I/O ports...
• Example : Motorola’s 6811, Intel’s 8051,
Zilog’s Z8 and PIC 16X
Serial
A single chip
I/O Timer COM
Port
Port
Microcontroller
Advance Technology
Microprocessor vs. Microcontroller
Microprocessor Microcontroller
• CPU is stand-alone, RAM, • CPU, RAM, ROM, I/O and
ROM, I/O, timer are separate timer are all on a single chip
• Designer can decide on the • Fixed amount of on-chip
amount of ROM, RAM and I/O ROM, RAM, I/O ports
ports.
• For applications in which
• Expensive
cost, power and space are
• Versatility
critical
• Multipurpose
• Specific purpose
• Concerned with rapid
movement of the code & data • Concerned with the rapid
from the external addresses to movement of the bits within
the chip. the chip.