If PIR1.5 = 1 Then ' If receive flag then...
B1 = RCREG ' Get received character to B1

Endif

The above code is from melabs sample programs.
does PIR1.5 clear automatically after B1=RCREG? It's read only???

The way i understand the above code is that PIR1.5 will go high when a validte data is rec'd in RX but how does PIR1.5 clear is it after reading the RC register?