Re: Converting Dec Numbers
in assembler you could shift the value 16 times to the right and they you had the upper 16 bit as seperate value.
so actually what you do is a hex division by 65535
so your value will be something like
x=hex(value shr 16) & right("00000000"&hex(value and &hFFFFFFFF),8)
probably not the correct syntax but I guess you get the idea
Re: Converting Dec Numbers
In assembly langue all numbers are dtored as hex in memory locations anyway. It is the actual conversion to hex I am trying to replicate.