Merge pull request #1062 from zhuowei/master Parse input as hex instead of decimal to match display values in the register view