c# Programming Glossary: ebp
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  the stack frame pointer has been copied into register ebp Here we allocate heap memory for the new object. A a1 new A.. a heap object in eax. We store the reference in stack slot ebp 48 which is a temporary slot not associated with any name. Remember.. Remember a1 has not been initialized yet. mov dword ptr ebp 48h eax Now we take that reference we just stored on the stack.. 
 x86/x64 CPUID in C# http://stackoverflow.com/questions/3216535/x86-x64-cpuid-in-c-sharp  edx private readonly static byte x86CodeBytes 0x55  push ebp 0x8B 0xEC  mov ebp esp 0x53  push ebx 0x57  push edi 0x8B 0x45.. static byte x86CodeBytes 0x55  push ebp 0x8B 0xEC  mov ebp esp 0x53  push ebx 0x57  push edi 0x8B 0x45 0x08 mov eax dword..  push ebx 0x57  push edi 0x8B 0x45 0x08 mov eax dword ptr ebp 8 move level into eax 0x0F 0xA2  cpuid 0x8B 0x7D 0x0C mov edi.. 
 
 
     
      |