Convert

Lesson 36: Binary Numbers

Convert bin->dec, dec->bin

2’s compliment (signed systems)

The video did not mention that the 2’s compliment procedure is reciprocal. For example, in a signed 4 bit system if +6 = 0110 then -6 is 1001+0001=1010. But now if we apply the 2’s compliment again to -6=1010 (flip and add 1) 0101+0001=0110 which is back to +6.