Computer Studies (Theory):

Two's Complement

 

Click here to download binary.zip (contain binary.exe file) !

binary.exe is a pascal program <10kB that can provide 2 simple test about two's complement.

Test 1:

Convert binary numbers in two's complement representation 

into a normal denary number.

Test 2:

Convert denary numbers 

into binary numbers in two's complement representation.

i.e. The reverse of Test 1.

Note that there may be some unknown bugs. If found, please tell me as quick as possible.

Thanks for your download. Enjoy!