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
- Register Addressing
- Immediate Addressing
- PC-Relative Addressing
- Base Addressing
No comments:
Post a Comment