Thursday 19 December 2013

3. PC-Relative Addressing

3. PC-Relative Addressing

  • A data or instruction memory location is specified as an offset relative to the incremented PC.
  • PC-Relative addressing usually used in the beq and bne (branch equal, branch not equal) instructions.
  • It implements position-independent codes. Only a small offset is adequate for shorter loops.

No comments:

Post a Comment