in my project i included the interrupt service routine in the library file.But now even though iam enabling interrupts in main function iam not entering into the interrupt service routine or rather interrupt itself is not occuring ,can any one tell me the reason.
I tried with the interrupt service routine outside the library.In that case interrupt is occuring but giving warnings like unreferenced symbol and reference made to unreferenced symbol my project has one Cfile one assembly file and a library file. In assembly file iam calling some functions which are there in the library file it is showing the warnings for these functions only. Is it required to enable the interrupts in the library when iam doing it in the Cfile ie; my main function
In assembly file iam calling some functions which are there in the library file it is showing the warnings for these functions only. Then your assembly file, and/or the source for the functions in that library, almost certainly failed to follow the rules about C/assembly interaction that you should have found in the C51 manual. Read them again. Carefully, this time. Check your code. If that still doesn't help, show us actual error messages, instead of just describing them superficially, and may some actual code, too.
really tricky problem (it does not show as anything but "not found") If you have 2 assembler modules in a library that mistakingly has the same NAME decalration (not the filename), they will both be there but only one will respond. I have dropped all use of NAME and let the default filename be the "name" just beacuse of this. Erik