Curious ALU problem.
Posted by Mark M on Dec 16, 2012; 4:48pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Curious-ALU-problem-tp4025866.html
I have built and successfully tested ALU but to do so I had to remove the invert from the NG pin so it tests for a 1 instead of a Zero on bit 15 of the output. And the 2s complement in the hardware sim seems back to front. for example an output value of 19 (dec) is listed as 0000000000010011 (Bin) I thought that positive numbers had a leading 1 and negatives a leading zero in 2s complement.
Could someone explain this to me please I'm a little confused as this seems back to front.