Hi,
I am mixing C and assembly and want to call assembly macros from the C file. But I do not want to define all these macros in the C file itself.
There are more than one such C files and a few asm files as well which use these set of macros.
Ideally I would want to place the macros in as assmebly inc file and then include this file in the C file. But I was told in one of my previous threads that it is not possible to do so.
Can you suggest me any clean method by which I can do this?
Regards, Gaurav
"I was told in one of my previous threads that it is not possible to do so."
http://www.keil.com/forum/docs/thread10004.asp
So why have you started a new thread with the same question?!
Why didn't you follow the advice given there; viz, to use the assembler's ability to understand some 'C' preprocessor syntax?
Again, see: http://www.keil.com/support/man/docs/a51/a51_mp_c.htm
See also: www.8052.com/.../read.phtml