Direct vs. Indirect Addressing Modes: Key Differences & Performance Impact
Direct addressing tells the CPU the exact memory cell to fetch data from; the address is embedded in the instruction. Indirect addressing gives the CPU a pointer: the instruction holds an address that itself points to the final data location. Programmers mix them up because both use addresses—yet one is “go to room 302,” the…