adding some more lec6 for asm course lec5 is still empty

This commit is contained in:
Medium Fries
2018-09-18 19:49:25 -07:00
parent 7dcff3983c
commit 5a0ed7de6d
3 changed files with 35 additions and 2 deletions

29
cst337/lec/lec6.md Normal file
View File

@@ -0,0 +1,29 @@
# 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