DAP Question (LBA)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
AndrewBuckley

DAP Question (LBA)

Post by AndrewBuckley »

Hi!

I have one matter: how is store a longlong in memory (little endian convention)...

Thanks
J. Weeks

RE:DAP Question (LBA)

Post by J. Weeks »

>On 2002-02-21 02:51:45, Merlin wrote:
>Hi!
>
>I have one matter: how is store a longlong in memory (little endian convention)...

I _believe_ it's simply stored in reverse, with the
LSB stored first. It might be compiler dependant,
of course, because 32-bit compilers have to
implement their own code to add 64-bit numbers
(because the processor can't do it).

You can do what I used to always do in a jam .
Just make a little program with a variable:

long long 0x1122334455667788;

And then load it into debug and find that variable,
and see how it's compiled.

I'm guessing, 88 77 66 55 44 33 22 11 (hex)

J. Weeks
Guest

RE:DAP Question (LBA)

Post by Guest »

Thanks
Post Reply