Basically you have a choice of whether the internal Flash is available or not in expanded mode (see the ROMON and ROMCTL descriptions in your datasheet). Depending on the S12 in use you may have a choice of where the ATD can go in the memory map. Devices with small internal memories have more flexibility with this.
Start with the app note and let us know if you have any more questions.