Computer Science, asked by dagarakash6, 16 days ago

What is the equivalent 2's complement representation for -15 in 16 bit hexadecimal representation ?

Answers

Answered by desu27072006
0
  1. PROCESS
  2. STEP 1 : Take the given negative value
  3. STEP 2 : Make it positive
  4. STEP 3 : Convert it into 16 bit Binary Value
  5. STEP 4 : Negate the value
  6. STEP 5 : Add 1 to the obtained value
  7. STEP : 6 Convert it in Hexadecimal
  8. TO REMEMBER
  9. In Hexadecimal
  10. A = 10 , B = 11 , C =12 , D= 13 , E = 14 , F= 15
  11. TO DETERMINE
  12. The equivalent 2s complement representation for -15 in 16 bit hexadecimal representation
  13. EVALUATION
  14. STEP 1 : The given value is - 15
  15. STEP 2 : Positive value of - 15 is 15
  16. STEP 3 :
  17. In 16 bit Binary Value 15 can be written as
  18. STEP 4 : Negating
  19. STEP 5 : Adding 1 to the obtained value
  20. STEP : 6 Convert it in Hexadecimal we get
  21. RESULT
  22. SO the required answer is

Similar questions