| |||||
Technical Support On-Line Manuals Cx51 User's Guide | Overlaying SegmentsIf the overlay process is executed during program linking and locating, it is important that each assembler subroutine have a unique program segment. This is necessary so that during the overlay process, the references between the functions are calculated, using the references of the individual segments. The data areas of the assembler subprograms may be included in the overlay analysis when the following points are observed:
The following C functions are used in all of these examples: int function ( int v_a, /* passed in R6 & R7 */ char v_b, /* passed in R5 */ bit v_c, /* passed in fixed memory location */ long v_d, /* passed in fixed memory location */ bit v_e); /* passed in fixed memory location */ | ||||
| |||||