Changing native paging mode in Large memory model

Version 1
    Question: In Large Memory Model, how do I change the native paging mode to Mode 2 (where indexed memory instructions operate on page specified by IDX_PP) from default Mode 3 (where indexed memory instructions operate on page specified by STK_PP) ?

     

    Answer:

    To change the Native Paging Mode to mode 2, assign the SYSTEM_TOOLS value to 0 in local.mk file.  Open local.mk file from "Projects" tab in PSoC Designer. If local.mk file is not already available, create a text file called local.mk in the project directory. Now add the following line in the end of local.mk file.
     
    SYSTEM_TOOLS=0

    After adding the above line in local.mk file, build the project.  Now the equate for the label SYSTEM_IDXPG_TRACKS_IDX_PP has become "1" in memory.inc file which indicates that the native page mode is mode 2.