Microprocessor architecture describes the internal organization and design of a microprocessor, including the arrangement of its arithmetic logic unit (ALU), control unit, registers, cache, buses, and instruction set, which collectively determine how the processor fetches, decodes, and executes instructions. Architectures are broadly classified as RISC (Reduced Instruction Set Computer) or CISC (Complex Instruction Set Computer), each with distinct trade-offs in instruction complexity, pipeline depth, and energy efficiency. Modern processors incorporate multiple cores, branch prediction, out-of-order execution, and deep cache hierarchies to maximize performance.
| Feature | RISC | CISC | Example Architectures |
|---|---|---|---|
| Instruction complexity | Simple, fixed-length | Complex, variable-length | ARM (RISC), x86 (CISC) |
| Instruction count per task | More instructions | Fewer instructions | Varies by task |
| Clock cycles per instruction | ~1 CPI | 1–20+ CPI | Depends on pipeline |
| Register count | Many (32+) | Fewer (8–16) | RISC-V: 32; x86: 16 general purpose |
| Memory access | Load/store only | Memory can be operand | RISC cleaner separation |
| Pipeline efficiency | High | Moderate (micro-op conversion) | RISC easier to pipeline |
Wikimedia Commons, CC BY-SA
A Boolean logic circuit is a digital electronic circuit that performs logical operations on binary inputs (0 or 1) using combinations of fundamental logic gates — AND, OR, NOT, NAND, NOR, XOR, and XNOR — to produce a binary output defined by Boolean algebra. These circuits are the building blocks of all digital computers, forming the basis of arithmetic units, control logic, and memory elements. The behavior of any combinational logic circuit can be fully described by a Boolean expression or truth table.
A computer pipeline is a hardware technique that overlaps the execution of multiple instructions by dividing instruction processing into discrete sequential stages — typically fetch, decode, execute, memory access, and write-back — so that each stage operates on a different instruction simultaneously, analogous to an assembly line. Pipelining increases instruction throughput (instructions completed per second) without reducing the time to complete a single instruction (latency), ideally executing one instruction per clock cycle at steady state. Pipeline performance is limited by hazards: structural hazards (resource conflicts), data hazards (dependency between instructions), and control hazards (branches altering instruction flow).
Cache memory is a small, high-speed memory layer placed between the processor and main memory (RAM) that stores copies of frequently accessed data and instructions to reduce average memory access latency. Modern processors use a multi-level cache hierarchy (L1, L2, L3), each level larger and slower than the previous, organized around the principles of temporal locality (recently used data will likely be reused) and spatial locality (nearby data will likely be accessed soon). Cache performance is measured by the hit rate — the fraction of memory requests satisfied by the cache — and miss penalty — the extra time needed to fetch data from a lower level.
From Greek "mikros" (small) + Latin "processus" (a going forward, advancement). "Architecture" from Latin "architectura," from Greek "arkhitekton" (chief builder). The term "computer architecture" was popularized by IBM engineers describing the System/360 in 1964; the first commercial microprocessor was Intel's 4004 (1971).