if my main func is in C lang, & i want to call a routine which is .a51 (assembly code), do i have to push & pop variables in .a51 ???
Interfacing C to assembler is describe in the manual, an online version of which, is here: http://www.keil.com/support/man/docs/c51/ Click "Advanced Programming", then "Interfacing C to Assembler".
I said: "Interfacing C to assembler is describe in the manual, an online version of which, is here: http://www.keil.com/support/man/docs/c51/ " Just to be clear, the online version is preliminary and not to be used as reference material. Now that I've pointed out where in the manual you can find the information, always use your printed/PDF manual as the official reference.
thank you sir.