This document provides examples of calculating two's complements. It first shows that the 8-bit two's complement of 26 in binary is 11100110. It then demonstrates that the decimal representation of the 8-bit two's complement number 11010011 is -45. Specifically, it shows taking the one's complement then adding 1 to get the two's complement number, before converting it to decimal.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0%(1)0% found this document useful (1 vote)
973 views2 pages
Twos Complement Exercise
This document provides examples of calculating two's complements. It first shows that the 8-bit two's complement of 26 in binary is 11100110. It then demonstrates that the decimal representation of the 8-bit two's complement number 11010011 is -45. Specifically, it shows taking the one's complement then adding 1 to get the two's complement number, before converting it to decimal.