Because i am running out of registers, i am forced to use ebx and ebp.
However, i run into problems in MSVC inline assember whenever i need to reference to memory location. Eg)
.... i change ebx and ebp
__asm mov eax, [param1] <-- error here (assembly listing shows _$param1[ebx]
How can i resolve this problem?