int main() { int varA = 6; int varB = 7; __asm { mov eax, 10h // move the hex value 10 to EAX mov eax, 10 // move the decimal value 10 to EAX mov eax, 010 // move the octal value 10 to EAX mov ecx, eax // move EAX register to ECX register //mov fs, ds // does not work //mov ax, ds // this works instead: (but segment registers //mov fs, ax // should not be modified) mov eax, 11111111h // EAX = 11111111h; mov ax, 3333h // EAX = 11113333h; //mov varA, varB // does not work mov eax, varB // this works instead: mov varA, eax } return 0; }