Login  Register

Re: ALU Help

Posted by snowkel on Sep 14, 2016; 5:13pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/ALU-Help-tp4030242p4030260.html

Hey Mark, I think I finally got it. The way you formatted the numbers really helped!

0 AND 1 = 0
00 AND 11 = 00
01 AND 10 = 00

Also, I'm having a little trouble converting negative binary numbers to their decimal value in a 4 bit system. I know that 0101 = (1*2^0)+(0*2^1)+(1*2^2)+(0*2^3) = 5 but this method does not work for binary numbers larger than 7.