without using a computer, you can calculate it as follows:
0xFFFF FE58 = - 0x1A8 = -(1 * 16² + 10 * 16 + 8) = -(256 + 160 + 8) = -424
0xFFFF FE58 - a negative number in 2 additions. To get the absolute value, you have to invert all the bits and add 1 in binary format. You can also subtract this number from the first number outside the range (0x1 0000 0000)
0x100000000 -0x0FFFFFE58 = 0x0000001A8
Now we know that your number is -0x1A8 . now you need to add the numbers multiplied by their place value. 8 * 16 ^ 0 + A (which is 10) * 16 ^ 1 + 1 * 16 ^ 2 = 424. Thus, the decimal value of your number is -424.
source share