Do you have MCS set up to us MPASM? Should not make a difference with you PIC though.

The machine I tested your code on does not have MCS. I used MPLAB.

What version of PIC BASIC PRO and MCS do you have?