Re: zr & ng implementation
Posted by Justin Singer on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/zr-ng-implementation-tp4025966p4025967.html
As a hint, remember that if a number is equal to zero, then all the bits in the number must be zero. One of the gates designed in chapter one can be used to determine whether there are any 1-bits in the gate's input. You can take these and do a bit of manipulation with them to generate zr fairly painlessly.