Balu
Balu

Reputation: 2457

Why the memory is interpretted differently on 2 different projects in same x64 machine ? Is that Endianness?

I have a VS project in which I observe the 64 bit little-endianess and in other test project it is something different [below memory layout and interpretation will give more info]. Both projects are compiled in x64 configuration

MEMORY ==> 00 00 00 00 a0 f8 2c 00

in one -> it is interpretted as 0x00000000002cf8a0 correctly [not sure about the endian]

in other -> it is interpretted as 0x002cf8a000000000 [64 bit little endian]

Is there a compiler setting to force the Endianness ?

Upvotes: -1

Views: 93

Answers (1)

Mehmet Salih Yildirim
Mehmet Salih Yildirim

Reputation: 99

It depends on CPU, but do not forget that .Net uses virtual machine named CLR underneath.

Upvotes: -2

Related Questions