using registers instead of function parameters
hi OverHertz.
can we allow the use of registers in function as a parameters , this will save the time of pushing function parameters in the stack.
for example.
function add(eax,ebx)
{
eax += ebx;
}
....
....
so when calling this function the compiler will move the first parameter to eax register
and move the second parameter to ebx register then call the add function.
not well , add function in this case have to be without stack frame , so we need a way
that tells the compiler to not emit stack frame for this function.
forgive me for my several requests.
Emil.
http://www.freewebs.com/ogremagic/index.htm