Lecture #01, Microprocessor_MC-Bus
Lecture #01, Microprocessor_MC-Bus
Text Book:
1. Intel Microprocessor: Architecture, Programming and Interfacing, B.B. Brey.
2. Microprocessor and Interfacing: 8086, 8051, 8096 and Advanced Processors, N.S. Kumar, M. Saravanan, S.
Jeevananthan and S.K. Shah.
3. Understanding 8085/8086 Microprocessors and Peripheral ICs through Questions and Answers, S.K. Sen.
provides output
Microprocessor is a multipurpose, programmable register based electronic device which read binary
instructions from memory, processes the input data as per instructions and provides output. It is an IC which has
only the CPU inside them i.e. only the processing powers such as Intel’s Pentium 1,2,3,4, core 2 duo, i3, i5 etc.
These microprocessors don’t have RAM, ROM, and other peripheral on the chip. A system designer has to add
them externally to make them functional.
Microcontroller is a device that includes microprocessor, memory and input/output devices on a single chip.
Microcontroller has a CPU, in addition with a fixed amount of RAM, ROM and other peripherals all embedded on
a single chip. At times it is also termed as a mini computer or a computer on a single chip.
Microprocessors and Microcontrollers
Microcontroller :
1. Microcontroller having inbuilt RAM or ROM and inbuilt timer.
2. Input and output ports are available.
3. Inbuilt serial port.
4. Separate memory to store program and data.
5. Many functional pins on the IC. functional pins instructions
6. Boolean operation directly possible.
7. It takes few instructions to read and write data from external memory.
Microprocessor :
1. Do not have inbuilt RAM or ROM and timer.
2. Input and output ports are not available.
3. Do not have inbuilt serial port.
4. Program and data are stored in same memory.
5. Less multifunction pins on IC.
6. Boolean operation is not possible directly.
7. It takes many instructions to read and write data from external memory.
Microprocessor Based System
Microprocessor Based System
Address Bus:
• Each memory location or I/O port is identified by a specific address
• This is a unidirectional bus. This bus is usually 8 to 32 bits wide.
• Addresses are all in binary, and represented in hexadecimal number format.
• Information transfer takes place from the microprocessor to the memory or I/O elements.
• For a 16-bit address bus, microprocessor can generate 216 = 65,536 different possible address. Each one of
these addresses represents a definite memory location or an I/O element.
Microprocessor Based System
Memory or I/O te
read naki write
hbe ta control kore
Control Bus: The control bus contains lines that select the memory or I/O and cause them to perform a read or write
operation. In most system, there are four control bus connections:
• MRDC (Memory read control)
• MWTC (Memory Write control)
• IORC (I/O read control)
• IOWC(I/O write control)
Microprocessor Based System
Data Bus:
• This is used for the exchange of data between the processor, memory and peripherals.
• It is bi-directional so that it allows data flow in both directions along the wires.
• Width of data bus determines data size that can be transferred.
• Data bus may be 8 bits, 16 bits, 32 bits or 64 bits.