bsf STATUS,5 ;Bit Set File : Set bit 5 in File STATUS (switch to bank 1)
movlw 00h ;MOVe Literal to W : Moves a constant value (00h) into W
movwf TRISA ;MOVe W to File: Moves the value in W (still 00h) into TRISA
;This makes all pins on portA outputs, if you were to write
;FFh (11111111b) to it all pins would be outputs
bcf STATUS,5 ;Bit Clear File: Clears bit 5 in file Status (switch to bank 0)
movlw 02h ;Move literal 02h to W
xorwf PORTA,1 ;eXclusive OR W with File: performs an exclusive OR
;between the value in PORTA and the Value in W, the 1 indicates
;where to save the result (1 means save it to the file PORTA)