SPRAB89B September 2011 – August 2025
In a standalone application with no shared libraries, the DP never changes. Assuming this convention holds throughout the system, an interrupt service routine could reliably assume the DP points to the one and only RW segment.
In the presence of dynamic linking, an interrupt routine cannot assume anything about the DP. It must save, setup, and restore the DP for itself like any other exported function.