โ† Computer Organization & Architecture learning path
Computer Organization & Architecture ยท Module 3 of 10

Instruction sets and addressing

Formats, modes and RISC vs CISC.

๐Ÿ“– Key ideas

  1. An instruction has an opcode and operand fields; formats may be fixed or variable length.
  2. Addressing modes: immediate, register, direct, indirect, indexed, base plus offset and relative.
  3. RISC: few simple fixed-length instructions, load/store design, many registers (ARM, RISC-V).
  4. CISC: many complex, variable-length instructions (x86).
  5. Instruction types: data transfer, arithmetic and logic, control (branch, call), and I/O.
๐Ÿ’ก Real-life example: RISC is a kitchen with a few sharp knives used skilfully; CISC is a kitchen full of special gadgets, each for one job.
OpcodeField naming the operation
RISCReduced instruction set computer
CISCComplex instruction set computer
Indexed addressingAddress = base + index register