Concept Flow - XOR for toggling bits
Start with initial bits
Apply XOR with toggle mask
Bits where mask=1 flip
Bits where mask=0 stay same
Result: toggled bits
End
XOR flips bits where the mask has 1s and leaves others unchanged, toggling bits step-by-step.