c# Programming Glossary: eax
Are these objects's references on the Stack or on the Heap? http://stackoverflow.com/questions/2559271/are-these-objectss-references-on-the-stack-or-on-the-heap  call FFE6FD30 That returns a reference to a heap object in eax. We store the reference in stack slot ebp 48 which is a temporary.. a1 has not been initialized yet. mov dword ptr ebp 48h eax Now we take that reference we just stored on the stack and copy.. reference stored in the temporary stack slot into register eax again. mov eax dword ptr ebp 48h And now we copy the reference.. 
 x86/x64 CPUID in C# http://stackoverflow.com/questions/3216535/x86-x64-cpuid-in-c-sharp  Basic ASM strategy void x86CpuId int level byte buffer  eax level cpuid buffer 0 eax buffer 4 ebx buffer 8 ecx buffer 12.. x86CpuId int level byte buffer  eax level cpuid buffer 0 eax buffer 4 ebx buffer 8 ecx buffer 12 edx private readonly static.. ebp esp 0x53  push ebx 0x57  push edi 0x8B 0x45 0x08 mov eax dword ptr ebp 8 move level into eax 0x0F 0xA2  cpuid 0x8B 0x7D.. 
 
 
     
      |