Last time we managed to finish the work horse of our processor, the ALU. Now we can crunch numbers and do all sorts of cool bitwise magic on them. But what good does that do for us if we can't store it?
So this time, we will create our working memory, the registers. You may have noticed the weird banner on top, well it should make more sense after we're done with the first part of this post. But really it's just for giggles.
"Okay then, how do we store, say, a single bit?" glad you asked! We'll use a latch also known as a flip-flop. (But they are a bit different, we'll get to it)
Latch is a device that has 2 states, one of which represents
TRUE bit and the other is
FALSE, and we can switch the state of the latch, hence, store information.
So let's build one. For that we need 2 NOR gates:
It's called SR NOR Latch. It's a Latch, hence the Latch, it uses NOR gates, and the SR ...