Switching Addressing Mode from within a Program
Note that there may be times when part of a program needs to run in a different addressing mode than the rest of the program. To switch addressing modes, you can use the AMODESW macro. For more information, see Program Invocation - Direct Branch Linkage.