If i have 0x00000065 stored in a register, is that the same as having 0X65 in my register?
Thank you so much.
Yes, it's the same two hexadecimal values:
0x00000065 = 5*(16^0) + 6*(16^1) + 0*(16^2) + ... + 0*(16^7) = 5*(16^0) + 6*(16^1) = 0x65
(Note: the symbol '^' denotes the power operator)
Registers are 32 bits long so you can't have 0x65 in one, only 0x00000065.
But of course, these are equal numbers.
User contributions licensed under CC BY-SA 3.0