I've been having problems trying to mix C++ variables with assembler registers. Below is an example of what I'm trying to do. At the moment, I don't care what the result is, I just want to know how to swap values from C++ to asm and vice-versa. In case it matters, I'm using MSVC++ 6.0.
[code]void getmouse(int *button,int *x,int *y)
I've looked at a whole bunch of asm tutorials and stuff like that, but still don't know what to do.