Thursday, 19 December 2013

Addressing Modes

Addressing Modes

MIPS has only a small number of ways that is computes addresses in memory. The address can be an address of an instruction (for branch and jump instructions) or it can be an address of data (for load and store instructions).

For any given operation, such as load, add or branch, there are often many different ways to specify the address of the operand(s).
The different ways of determining the address are called addressing modes.

We will look at the 4 ways addresses are computed

  1. Register Addressing
  2. Immediate Addressing
  3. PC-Relative Addressing
  4. Base Addressing





No comments:

Post a Comment