C59D signed hex to Binary/Octal/Decimal?

  • Thread starter Thread starter nwilkins259
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
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).