# lec6 > diagrams needed for this ## Transistors Two types of transistors will be discussed here: `NPN` and `PNP`. Both types however, do share some properties here by referred to as the following: * E = Emitter * B = Base * C = Collector ### NPN When the base/gate is "on" we mean current can flow from the emitter to the collector. ### PNP When the base/gate is "on" we mean current can _not_ flow from the emitter to the collector. > When we say that a gate is "on" we're really saying that it's open. ## Gates: AND, OR, NOT, XOR For this section we'll be using intel assembly syntax where the general syntax follows the form: `op src, dest`. This will hold as long as op is the desired operation to represent the gate, src, will be one of our operands which holds the result after the operation, and dest holds the result after the operation. ### AND