Sounds like your ASM code starts in column 1 ... indent your code a space or two and see what happens

Code:
; FOR EXAMPLE

movwf PORTA ; will not work

     movwf PORTA ; will work
OH, Mackrackit is right - post your code if you want for sure answers.