Good day

I'm a picbasic newbie i'd like to ask these syntaxes do?

AMPMFlag=AMPMFlag^1 '>>>>>>>>>>>>>>>>>>>what does this do?

Lc var byte [15]
For i = 0 to 15 : read i, b0:if b0 = 0 then
lookup i,[1,2,3,11,4,5,6,11,7,8,9,10,11,12,13,14], b0
Lc(i)=b0 '>>>>>>>>>>>>>>>>>>>>>>>>>>>what does this do?
goto Address

I would gladly appreciate for any response
thanks
ryan