Chapter 1: Introduction to Microprocessor
1.1 The Microcomputer
- Definition: A small and inexpensive computer representing an accessible and convenient form of computing. It is the most significant development in data processing since the late 1970s.
- Perspectives:
- To a designer: A system centered around a microprocessor and associated circuitry.
- To a programmer: A new type of system for executing programs.
- Architecture: Major components include the Processor (ALU & Control Unit), Memory, Input/Output (I/O), and a Clock. These communicate via address, data, and control buses.
1.2 Microprocessor vs. Microcontroller
- Microprocessor (Micro + processor):
- A CPU packaged in a single integrated circuit (IC).
- It is a small, thin digital electronic device that processes and manipulates data (Fetch → Decode → Execute).
- Typically uses complex logic, pipelining, and caches to achieve high execution throughput.
- Microcontroller:
- A complete computer system implemented on a single, very large-scale integrated circuit.
- Contains everything a microprocessor has, plus on-chip peripheral devices.
- Often includes memories, timer circuits, A/D converters, and USB interface engines.
1.3 Classification of Microprocessors Microprocessors can be classified based on Architecture, Application Type, and Performance. Modern processors combine the best features of different types. Based on Instruction Set Architecture (ISA), there are two major categories:
- CISC (Complex Instruction Set Computer):
- Example: Intel 8086.
- Characteristics: Short encodings of common instructions, shorter programs saving memory, easier assembly programming.
- RISC (Reduced Instruction Set Computer):
- Characteristics: Simpler instruction formats, requires more instructions (uses more memory initially).
- Advantages: Simpler hardware allows advanced implementation techniques like pipelining; relies heavily on compilers to generate efficient code. Highly common in newer designs.
1.4 Performance Factors
- Processing Speed: Directly proportional to the system clock frequency (limited by voltage levels and heat dissipation).
- Advancements: Newer designs achieve higher frequencies at lower voltage thresholds, resulting in high speed and low power consumption.
- Other Factors: Performance also heavily relies on the number of cores, parallelism, pipelining, on-chip caches, and Power Management Units (PMU).
1.5 Evolution of Microprocessors
-
1.5.1 4-Bit Microprocessors
- Intel 4004 (1971): The first microprocessor by Intel. 740KHz clock, 2,300 transistors, ~60,000 instructions per second.
- Intel 4040 (1974): Higher speed, 3,000 transistors.
-
1.5.2 8-Bit Microprocessors
- Intel 8008 (1972): First 8-bit µP, 500 KHz clock, 3,500 transistors.
- Intel 8080 (1974): 1st modern 8-bit µP. 2MHz, 6,000 transistors, 64KB memory address capacity. 10x faster than 8008.
- Intel 8085 (1976): 3MHz, 6,500 transistors. Featured internal clock generator and system controller. Over 100 million copies sold.
-
1.5.3 16-Bit Microprocessors
- Intel 8086 (1978): First 16-bit µP. 4.77–10MHz, addressed 1MB of memory, 29,000 transistors. Introduced Multiply and Divide instructions.
- Intel 8088 (1979): Cheaper version of the 8086 with an 8-bit external bus. Extremely popular as it was used in the first IBM PC.
- Intel 80186/80188 (1982): 6MHz. Included additional integrated components like an interrupt controller, clock generator, and counters.
- Intel 80286 (1982): 8MHz, addressed 16MB of memory, 134,000 transistors.
-
1.5.4 32-Bit Microprocessors
- Intel 80386 (1986): First 32-bit µP. 16–33MHz, 4GB memory capacity, 275,000 transistors. Became the best-selling µP in history.
- Intel 80486 (1989): 1.2 million transistors, clock speeds up to 100MHz. Introduced 8-16 KB of on-board cache memory.
- Intel Pentium (1993): Originally 80586. 66MHz, 4GB memory capacity. 8KB instruction cache + 8KB data cache.
- Pentium Pro (1995) & Pentium II Xeon (1998): Designed primarily for server systems, featuring larger transistors counts (up to 21 million) and integrated L2 caches.
- Pentium II/III/IV (1997-2000): Rising clock speeds (up to 3.8GHz in P-IV) and exploding transistor counts (42 million in P-IV).
-
1.5.5 Dual Core Processors
- Intel Dual Core (2006): 32-bit or 64-bit. Two physical cores sharing an external bus and L2 cache but retaining individual internal buses and L1 caches. Supported SMT (Simultaneous Multi-Threading).
-
1.5.6 64-Bit Microprocessors
- Intel Core 2 (2006): 1.2–3GHz, 291 million transistors.
- Intel Core i3 (2010): 2 physical cores, 781 million transistors, introduced L3 cache (4MB).
- Intel Core i5 (2009): 4 physical cores, 781 million transistors, up to 3.60 GHz.
- Intel Core i7 (2008): 4 physical cores, high cache sizes (up to 8MB L3 cache), excellent performance.