Task Dgital

|
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
 13 views
of 12

Please download to get full document.

View again

Description
TASK 6-2. Represent each of the following signed decimal numbers in the 2’s-complement system. Use a total of eight bits including the sign bit. a. +32 = 0010 0000 = 32 1101 1111 1 + 1110 0000 = -32 Negative numbers to positive 0001 1111 1 + 0010 0000 = +32 b. -14 = 0000 1110 = 14 1111 0001 1 + 1111 0010 = -14 c. +63 = 0011 1111 = 63 1100 0000 1 + 1100 0001 = -63 Negative numbers to positive 0011 1110 1 + 0011 1111 = +63 d. -104 = 0110 1000 = 104 1001 0111 1 + 1001 1000 = -104 e. +127 = 011
Share
Tags
Transcript
  TASK6-2. Represent each of the following signed decimal numbers in the 2’s -complement system.Use a total of eight bits including the sign bit.a. +32= 0010 0000 = 321101 11111 +1110 0000 = -32Negative numbers to positive0001 11111 +0010 0000 = +32  b. -14= 0000 1110 = 141111 00011 +1111 0010 = -14  c. +63= 0011 1111 = 631100 00001 +1100 0001 = -63Negative numbers to positive0011 11101 +0011 1111 = +63  d. -104= 0110 1000 = 1041001 01111 +1001 1000 = -104 e. +127= 0111 1111 = 1271000 00001 +1000 0001 = -127Negative numbers to positive0111 11101 +0111 1111 = +127 f. -127= 0111 1111 = 1271000 00001 +1000 0001 = -127  g. +89= 0101 1001 = 891010 01101 +1010 0111 = -89Negative numbers to positive0101 10001 +0101 1001 = +89  h. -55= 0011 0111 = 551100 10001 +1100 1001 = -55  i. -1= 0000 0001 = 11111 11101 +1111 1111 = -1   j. -128= 1000 0000 = 1280111 11111 +1000 0000 = -128  k. +169= 1010 1001 = 1690101 01101 +0101 0111 = -169Negative numbers to positive1010 10001 +1010 1001 = +169 l. 0= 0000 0000 = 01111 11111 +0000 0000 = 0  m. +84= 0101 0100 = 841010 10111 +1010 1100 = -84Negative numbers to positive0101 00111 +0101 0100 = +84 n. +3= 0000 0011 = 31111 11001 +1111 1101 = -3Negative numbers to positive0000 00101 +1111 0011 = +3 o. -3= 0000 0011 = 31111 11001 +1111 1101 = -3p. -190= 1011 1110 = 1900100 00011 +0100 0010 = -190
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks