Wednesday 15 January 2014

Question on converting decimal to binary to hex -


I'm a little confused here:

I'm trying to reverse the ASCII value 65 In the book I am reading this:

  Decimal: 65hex: 41 octal: 101  

but its binary representation is 65:

  0010 0001  

and 0010 is hex 2, while 0001 is 1, which indicates that hex Value must be "21"

Where have I gone wrong?

65 Dean bin 0100 0001.


No comments:

Post a Comment