---- 整理自B站UP主 踌躇月光 的视频 1. 半加器 ABSC0000011010101101 S = A ‾ B + A B ‾ C = A B \begin{aligned} S =& \overline{A}B + A\overline{B} \\ C =& AB \end{aligned} S=C=AB+ABAB 2. 异或门 S = A ‾ B + A B ‾ \begin{aligned} S =& \overline{A}B + A\overline{B} \\ \end{aligned} S=AB+AB