It is not really recommended to modify bits like that quickly after each other. There is something called READ-MODIFY-WRITE problem and that could be what you are having. I also notice that you have not set the TRIS register for the port (telling the port to be input or putput) but that should be taken care with high and low but I rather do it myself.
Try to blink with just one LED och with the entire PORT i.e
main:
TRISB=0
here:
PORTB=0
Pause 2000
PORTB=255
pause 2000
goto here
end
Save the A port for later since it is usually the port that has most Analog stuff that can also be causing problems.
And most important: Don't give up!! It is quite normal to have some problems getting started.
Bookmarks