Link to home
Start Free TrialLog in
Avatar of pcomb
pcombFlag for United States of America

asked on

Converting from hexadecimal using two's compliment

What are the steps you would take to convert a hexadecimal number such as 0x0AB00000 to a decimal number, knowing that it is an unsigned integer. Are there different steps to convert this number if you knew that it was two's compliment instead of an unsigned integer?
ASKER CERTIFIED SOLUTION
Avatar of ChloesDad
ChloesDad
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of skullnobrains
skullnobrains

$ echo 'ibase=16 ; ob=10 ; 0AB00000' | bc
179306496