16-bit hexadecimal <--> decimal converter
Value in hexadecimal (0 to ffff)
Value in signed decimal (-32768 to 32767)
Value in unsigned decimal (0 to 65535)
Remember that the E100 treats all numbers as signed.