two's complement

8 views
Skip to first unread message

steve....@gmail.com

unread,
Dec 6, 2013, 4:10:01 PM12/6/13
to binar...@googlegroups.com
How do I convert a 16-bit hex number in two-complement notation into a signed decimal integer?  I've paid for the full version and cannot figure out how to do this.  Thanks, Steve

knyto2

unread,
Dec 6, 2013, 5:47:03 PM12/6/13
to binar...@googlegroups.com
Hey Steve,

Since the calculator is in 32bit, you would enter the 16-bit hex number in two's compliment notation, then also invert the bits to the left to all 1s. A quick way to do this is to press the '!' to invert all of the bits first, then enter the 16-bit hex number accordingly. Let me know if this works for you.
Reply all
Reply to author
Forward
0 new messages