Try this:
Code:
main:

PORTA = %00000001
pause 1000
PORTA = %00000011
pause 1000
PORTA = %00000111
PAUSE 1000

end
It looks like you are experiencing a read-modify-write problem. You can search for more info on this forum.