 | C251 User's Guide |  |
|
|
| RENAMECODE Compiler Directive| Abbreviation | RC | | Arguments | The new name of a code segment. | | Default | No code segment renaming takes place. | | µVision | This control cannot be entered with µVision. | | Description | With the RENAMECODE directive, you can give a code segment a different name. RENAMECODE can be used only if ROM(HUGE) or ROM(MEDIUM) is specified, since all functions of a module must reside in a single code segment. For all other ROM settings, each function compiles into a separate code segment and the RENAMECODE directive is ignored. | | Example |
C251 SAMPLE.C ROM(HUGE) RENAMECODE (?PR?COMMONSEG)
#pragma renamecode(?PR?MYSEG)
|
|
|