Re: ALU Help
Posted by snowkel on Sep 14, 2016; 2:24am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/ALU-Help-tp4030242p4030245.html
Thanks for clearing up the addition for me. That certainly helps a bit!
The -1 output was simple enough to figure out, but I'm having a little trouble on the x output though. Here's my thought process:
zx = 0, this means that x (0100) is not zeroed.
nx = 0, x is not negated
zy = 1, y is zeroed (0000)
ny = 1, y is negated (1111)
x+y=0, x (0100) and y (1111) are not added
So does this mean I simply ignore y? Leaving me with the desired output x (0100).