Past exam question: 2081 Chaitra (Regular), Q9
Open in the Padhaiko appQuestion
Differentiate between RISC and CISC architecture.
Solution
Architectural Paradigms:
- RISC (Reduced Instruction Set Computer): Focuses on executing simple, fixed-format instructions rapidly in a single clock cycle using hardwired control logic. Memory operations are strictly confined to
LOADandSTOREinstructions; all arithmetic and logic computations occur solely between registers. - CISC (Complex Instruction Set Computer): Focuses on providing a rich, high-level instruction set where individual complex instructions can perform multi-step operations (e.g., loading, computing, and storing in memory) across multiple clock cycles using microprogrammed control.
Comparison Table:
| Feature | RISC Architecture | CISC Architecture |
|---|---|---|
| Instruction Count | Small (typically 50–100 instructions) | Large (typically 150–500+ instructions) |
| Instruction Format | Fixed uniform size (e.g. 32-bit) | Variable size (e.g. 1 to 15 bytes in x86) |
| Execution Speed | Single clock cycle per instruction (CPI ≈ 1) | Multiple cycles per instruction (variable CPI) |
| Memory Access | Strictly Load / Store architecture | Direct memory-to-memory or memory-to-register |
| Addressing Modes | Few, simple modes (Immediate, Register, Indexed) | Many, complex modes |
| Control Unit | Hardwired control logic (high speed) | Microprogrammed control ROM |
| General Registers | Large register file (typically 32 to 128) | Fewer general registers (typically 8 to 16) |
| Pipelining | Highly efficient; uniform stages | Complex to pipeline due to variable lengths |
| Compiler Role | Heavy reliance on optimizing compiler | Simpler compiler; complex hardware |
| Code Density | Lower (programs require more instructions) | High (compact machine code) |
| Examples | ARM, MIPS, RISC-V, SPARC | Intel 8085, 8086, Pentium, Motorola 68000 |
Answer:
RISC emphasizes simple, single-cycle, fixed-length instructions using load/store architecture and hardwired control with large register files, while CISC emphasizes complex, multi-cycle, variable-length instructions with microprogrammed control and direct memory operands.