Introduction
Every program you run — a browser, a compiler, a game — is ultimately a long list of machine instructions that the CPU fetches and executes one after another. The complete catalogue of instructions a particular processor understands is called its Instruction Set Architecture (ISA). An instruction not only says what to do (add, load, jump) but also where the data lives. The rules that tell the CPU how to find an operand's actual location in memory or a register are called addressing modes.
For BCS, Bank IT, and IT-officer written and viva exams, this is one of the highest-yield topics in Computer Architecture. Questions are usually direct and factual: "How many addressing modes does X have?", "Compute the effective address", "Which addressing mode is used for arrays?", "RISC vs CISC differences", "What is the difference between immediate and direct addressing?". If you master the effective-address calculations and the mode-to-use-case mapping, you can answer almost anything asked on this topic.
Learning Objectives
- Define an instruction, an instruction set, and the Instruction Set Architecture (ISA).
- Describe the fields of a machine instruction (opcode + operands) and instruction formats by operand count.
- Distinguish RISC and CISC design philosophies with concrete examples.
- Define effective address (EA) and compute it for every major addressing mode.
- Identify and explain all common addressing modes: immediate, register, direct, indirect, register indirect, indexed, base-register, relative (PC-relative), auto-increment/decrement, and implied.
- Match each addressing mode to the programming construct it naturally supports (arrays, pointers, loops, position-independent code, stacks).
- Avoid the classic exam traps that separate a good score from a perfect one.