example a+=b a=a+b a=b a=(ab) bit or 運算 a&=b a=(a&b) bit and 運算 a=b a=(ab) bit XOR 運算(只保留不同的) a!=b a=(a!b) bit Not 運算 a=b bit 補數 (ex: 100 -> 011)