C59D signed hex to Binary/Octal/Decimal?

  • Thread starter Thread starter nwilkins259
  • Start date Start date
Click For Summary
SUMMARY

The signed hex number C59D converts to binary as 1100 0101 1001 1101 and to decimal as -14947. The correct octal conversion is -35145, which is derived from the two's complement of the binary representation. The initial octal conversion of 142635 is incorrect due to misinterpretation of the signed value. Understanding the two's complement method is essential for accurate conversions of signed hex values.

PREREQUISITES
  • Understanding of signed hexadecimal numbers
  • Knowledge of binary and octal number systems
  • Familiarity with two's complement representation
  • Basic arithmetic operations in different numeral systems
NEXT STEPS
  • Learn about two's complement conversion techniques
  • Research signed number representations in computing
  • Practice converting hexadecimal numbers to different numeral systems
  • Explore tools for automatic numeral system conversions
USEFUL FOR

Students studying computer science, programmers dealing with low-level data representation, and anyone interested in numeral system conversions.

nwilkins259
Messages
9
Reaction score
0
Stuck on a homework question

Convert the signed hex number C59D to Binary/Octal/Decimal

Binarys easy = 1100 0101 1001 1101
Decimal i got = -14947
but I am not sure about octal, I am getting 142635, which can't be right because its a positive value, the answer should be a (signed) neg number between 400000-777777

any ideas?
 
Physics news on Phys.org
nwilkins259 said:
Stuck on a homework question

Convert the signed hex number C59D to Binary/Octal/Decimal

Binarys easy = 1100 0101 1001 1101
Decimal i got = -14947
but I am not sure about octal, I am getting 142635, which can't be right because its a positive value, the answer should be a (signed) neg number between 400000-777777

any ideas?

Find the two's complement form of your binary number, which is 0011 1010 0110 0011. Divide into groups of three binary digits, starting on the right. I get 35143 (really, -35145).
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
11K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
13K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K