#include <stdio.h>
#include <iostream>
int main()
{
volatile int i = 10;
int a = i;
printf("i= %d\n", a);
__asm
{
mov dword ptr [ebp - 4], 20h
}
int b = i;
printf("i= %d\n",b);
std::cin.get();
}
#include <iostream>
int main()
{
volatile int i = 10;
int a = i;
printf("i= %d\n", a);
__asm
{
mov dword ptr [ebp - 4], 20h
}
int b = i;
printf("i= %d\n",b);
std::cin.get();
}