- M. Horowitz, J. Plummer, R. Howe
1
E40M Binary Numbers, Codes M. Horowitz, J. Plummer, R. Howe 1 - - PowerPoint PPT Presentation
E40M Binary Numbers, Codes M. Horowitz, J. Plummer, R. Howe 1 Reading Chapter 5 in the reader A&L 5.6 M. Horowitz, J. Plummer, R. Howe 2 Useless Box Lab Project #2 Adding a computer to the Useless Box alows us to write a
1
2
3
4
– Positive gate-to-source voltages turn the device on.
– Negative gate-to-source voltages turn the device on … and there’s zero current into the gate!
5
Ron gate gate * actually, the gate – to – source voltage, VGS
6
7
A B AND 1 1 1 1 1
(A && B) <-> AND
8
A B OR 1 1 1 1 1 1 1
(A || B) <-> OR
9
10
102 101 100 1 4 5 22 21 20 1 1
11
Operation Output Remainder
23/27 23 23/26 23 23/25 23 23/24 1 7 23/23 7 23/22 1 3 23/21 1 1 23/20 1
Carry
1 1
1 1 1
1 1
Addition (14)
1 1 1
12
https://en.wikipedia.org/wiki/Code
13
14
15
7 00000111
10000111
16
Carry 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 Addition 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
17
42 1 1 1 Flip 1 and 0 1 1 1 1 1 Add 1 1 1 1 1 1
18
19
20
21
22
23
24
25
26
27
28
29