int main() { int num = 8; __asm { mov eax, 4; lea ecx, num ;// ecx = address of variable "num"; add eax, [ecx] ;// add 4 + 8 } }