Hello,
I try to convert the decimal number 16,450,560 into hex. So, I det into Command Mode and type:
#50=16,450,560 $#50
Then Vedit answers with;
0XFB:0400 .
I take this is the segment:offset notation for this number. I tried to convert this notation to a "flat" hex notation.
, by hand. I got
FB
400

13B0
Oops, I do not know how webboard will display this type of formatting. So, back to definitions: In other words I have to multiply the "offset" by 16 and add the segment to it.
My problem is that if I reconvert 0x13B0 to decimal Vedit gives me 5040.
So, I am missing something simple. I also checked my hex arithmetic. The key fact was that,
0xF + 0x4 = 0x13 .
Here is how I justified it:
The left side is 15 + 4 = 16 + 3
and clearly,
16 + 3 = 0x13 .
Any hint would be most appreciated.
Thanks,
peter.

