Login  Register

ALU Struggle

Posted by bwspot on Apr 18, 2014; 5:33pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/ALU-Struggle-tp4028020.html

Hello,
I am new to the project and just started few weeks ago.
So far I really enjoy it and i have learned a lot already.

I was able to go through all assignments until i got to ALU.  When I look at the table I see times where both zx and nx are 1 or zy and ny are both 1

For example, lets say input x is 1 and
zx and nx are 1
therefore if zx = 1 then x = 0 and if nx = 1 then x = !x

how x can be 0 and not !x at the same time?

my though process is to manipulate the input first based on nx zx ny zy bits and then do f an no bits.

thx