The assembly code retrieves the calibration value from the last position in memory (where it is stored when leaving the factory) and uses it to set the chip calibration register.
THANKS! Per your comments, I changed #int_ext to #int_ra, which immediately solved the problem and enabled the pushbutton. The program now works as expected.