Hello, all,
I am writing an x86 function that is called, with arguments, from a C program. Which registers does x86 store these arguments in?
Read the documentation for your C compiler.
The normal C convention is to pass all arguments on the stack.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.