I have a large structure I wish to locate in code space. The problem appears to be the linker intreprets the accesses to this structure as a subroutine call. I get the error "Too many recursive calls to segment...". The structure works fine in XDATA. It also worked fine in code space until there were enough routines accessing the structure. Anyone have a clue?
Is the error message this one?
FATAL ERROR 232: APPLICATION CONTAINS TOO MANY RECURSIONS.
That the one. I will take a look as soon as I can figure our where the macro assembler book is hidden. Short term memory problems as well. Thanks a bunch to all who have responded. Perhaps someday I can reciprocate.
See on-line document here: http://www.keil.com/support/man/docs/lx51/lx51_recursions.htm
Thanks again. I found my book and tried bumping the recursions to 200 and it works. My cup runneth over with information. (I have mail) Here comes some more!