I have a problem. Assembler function call from C. Then Assembler function have meny parameter.
How to use assembler code?
sorry .
http://www.keil.com/forum/docs/thread12302.asp
The other thread is C function call from assembler.
This thread is assembler function call from C.
The answer is almost the same: The C compiler does not know that the assember function expects, so the assembler function has to receive data in the same way as a C function.
Look at the disassembly for how a C function would receive the same amount and types of parameters...
"the assembler function has to receive data in the same way as a C function."
For an example of how to do it, see: www.8052.com/.../read.phtml
You should still study those manual sections so that you understand what you see...