Low Level Query

mbeylis

Senior Member
Joined
Jun 8, 2006
Messages
564
Reaction score
2
Location
Benoni
Hi

I am needing to interpret some low level data and feel like I am bit lost. The data is this

0x04*0x100+0xce=0x4ce=1230

First off I am not even sure what notation this is. Is this Hexademical?

So I can see that 3 pieces of notation are being combined. 0x04 is being multiplied by 0x100 which is then added to 0xce but how does that get me 0x4ce and then how does 0x4ce become 1230

Thanks
 
[0x: Shortcut indication for Hex]

0x4ce: Decimal = 1230
0xce: Decimal = 206
0x100: Decimal = 256
0x04: Decimal = 4

So 0x04 * 0x100 + 0xce = 0x4ce = 1230
or
(4 x 256) + 206 = 0x4ce = 1230
1024 + 206 = 1230 ...

Or something like that.

[A good place to start to recap on that is wolfram ... http://www.wolframalpha.com/

Start with just searching for the terms, i.e 0x04 then 0x100, etc, etc.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X