What are features of addressing modes
They determine how the CPU will use the operand for the opcode
They allow for a greater number of memory locations for data to be stored
They specify how operand should be be interpreted
It is found in the opcode
What is the operand
Holds a value related to the data the instruction is to be performed on
What is the opcode
Specifies the instruction to be performed
What is immediate addressing
Operand is the value to be operated on
What is the advantage of immediate addressing
It is good to load small (few bits available ) constants by building them into the program code
What is direct addressing
Operand is the address location of where the data is
What is indirect addressing
Operand is the memory location that stores the full address of the data, which is copied from MDR into the MAR.
What is indexed addressing
Operand is added to the index register
Advantages of index addressing
Good for searching through arrays
Can add an offset to access data stored contiguously