This is basically the same as saying subtract 1 from 0x01000000 and results in the value 0x0FFFFFF basically hexadecimal is base 16, it often uses the following symbols:
Hexdec | Decimal
:–|:–
0|0
1|1
2|2
3|3
4|4
5|5
6|6
7|7
8|8
9|9
A|10
B|11
C|12
D|13
E|14
F|15
And so when you add -1 to 0x1000000 you get 0x0FFFFFF. It gets a little annoying to learn arithmetic in hexadecimal but it is easier than other bases.
Latest Answers