Login  Register

Bitwise negation

Posted by Jason on Jun 20, 2013; 7:16pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Bitwise-negation-tp4027026.html

I'm working on the ALU worksheet from this forum and I have a question about bitwise negation.

if I have 1010 (-6) and I negate the bits, I get 0101 which is 5. Is this correct, or should the outcome be 0110 (6)?

If it should be 6, then what is the math process and how do I do this with the chips I've already made?

(Yes, I understand you will not be giving me full answers, I just want to know where to start looking)