
If Pulse=1, and Px.y=1 then XOR=0, INTx=1
If Pulse=0, and Px.y=1 then XOR=1, INTx=0,(Interrupt) in ISR Make Px.y=0
If Pulse=0, and Px.y=0 then XOR=0, INTx=1
If Pulse=1, and Px.y=0 then XOR=1, INTx=0,(Interrupt) in ISR Make Px.y=1
If Pulse=1, and Px.y=1 then XOR=0, INTx=1
