This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Variable argument passing from C to assembly function

Hello,

I need to modify an assembly function because of the following changes done to the prototype.

Previously the function prototype is as follows:-

int foo(int a, int b, int c, int d)

and is changed to

int foo(int a, int b, int c, int d, ...)

I need to know how to handle variable argument passing in the assembly code. If you have

any sample code, please post it here. Any document that explains this with example will help

as well.

 

Thanks.

 

Murali