ash
Full Member level 3
Hi friends,
How can i share data in c and assembly in one program like this
//main.cpp
int main(){
short int x;
asm{
// there're asm codes
increment x
}
printf(%d,x)
return 0;
}
thanks in advance...
How can i share data in c and assembly in one program like this
//main.cpp
int main(){
short int x;
asm{
// there're asm codes
increment x
}
printf(%d,x)
return 0;
}
thanks in advance...