This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

overlay syntax for a complet module or file

hello,

my program is writing in asm (assembler).
I mix a c file for 1 procedure called cfunct1 in my PROCEDURE_C.c file

I had a L10 warning : Cannot Determine Root Segment

I have write the directive in Options — LX51 Misc — Overlay.:
OVERLAY (* ! ?PR?cfunct1?PROCEDURE_C)

and now all is ok.

but If I want to write more that 1 procedure in my c file, for example a cfunct2.

have I to write the directive:
OVERLAY (* ! (?PR?cfunct1?PROCEDURE_C, ?PR?cfunct2?PROCEDURE_C) ?

or is it possible to write the overlay directive for all the file in one ligne?

thanks for your help.

0