Login  Register

Re: ALU Implementation

Posted by WBahn on Jul 26, 2021; 7:45pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/ALU-Implementation-tp4036186p4036202.html

You are overthinking it.

If I give you the bit pattern:

000101010111010110100101010001001011100101010

Is that zero or not?

If I give you the bit pattern:

000000000000000000000000000000000000000000000

Is that zero or not?

If I give you the bit pattern:

000000000000000000000100000000000000000000000

Is that zero or not?

If I give you the bit pattern:

100000000000000000000000000000000000000000000

Is that zero or not?

What mental test did YOU use to decide which of those, if any, were zero?