Problem in 2's compliment

Posted by RasenRhino on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Problem-in-2-s-compliment-tp4036032.html

Here is my snippet,

        Not16(in=x, out=notx);
        Inc16(in=notx, out=out);

Ideally it should give me a 2's compliment , but I am getting a zero, I am not sure why? I am using built in ones.