| ||||||||
Technical Support On-Line Manuals C251 User's Guide | Overlaying SegmentsIf the overlay process is executed during program linking and locating, it is important that each assembler subroutine be declared with the PROC / ENDP assembler controls or 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:
Example RoutinesThe following program examples show how to pass parameters to and from assembly routines. The equivalent C source for the assembler program is printed as assembler comment. | |||||||
| ||||||||