4.4.4.9 Modulo Addressing Applicability
Modulo Addressing can be applied to the Effective Address (EA) calculation associated with any W register. Address boundaries check for addresses equal to:
- The upper boundary addresses for incrementing buffers
- The lower boundary addresses for decrementing buffers
It is important to realize that the address boundaries check for addresses less than or greater than the upper (for incrementing buffers) and lower (for decrementing buffers) boundary addresses (not just equal to). Address changes can, therefore, jump beyond boundaries and still be adjusted correctly.
Note: The modulo corrected Effective Address is written back to
the register only when Pre-Modify or Post-Modify Addressing mode is used to compute the
Effective Address. When an address offset (such as [W7 + W2]) is used, Modulo Addressing
correction is performed, but the contents of the register remain unchanged.
