Addressing Modes, Effective Address & Expanding Opcodes
“Effective Address (EA) is the actual memory location accessed; always include instruction fetch memory cycle in total access count.”
- —Immediate: EA = None; 0 operand memory references.
- —Direct: EA = Address field; 1 memory reference.
- —Indirect: EA = Memory[Address field]; 2 memory references.
- —Register Indirect: EA = [Register]; 1 memory reference.
- —Relative: EA = PC + Offset; position-independent conditional branches.
- —Indexed: EA = Base Address + Index Register; array traversal A[i].
- —Expanding Opcode: Unused prefixes at level k expand by 2^(freed_field_bits) at level k-1.
- —Never forget the memory access required to fetch the instruction code itself.
- —PC-relative branch offsets are signed 2's complement numbers relative to the updated PC (pointing to the next instruction).