1 CS120: Lecture 4 MP Johnson Hunter College
2 Agenda Review flipflops Review bin nums Converting bin dec Converting dec bin Adding bin nums
3 Agenda Review binary, 2’s comp –Convert pos, neg base2 (alg, interp) –Add base2 –Multiply/shift base2 Machine language & processors More on data? –Compression –Error detection & correction
4 Review: flipflops Go through
5 Review: bin nums ANSI only uses 7 bits (128 vals) Insert a 1 at front to get 8 bits = 1 byte (255)