In MCS on the toolbar click View then go to Compiler and program options. Then go to the Assembler tab. You pick MPASAM there. If the box is unchecked then PM is used.