Use this panel to specify processor behavior. You can specify the file paths and define macros.
The following table lists and describes the compiler procesor options for DSC.
| Option | Description |
|---|---|
| Hardware DO Loops | Specifies the level of hardware DO loops: No DO Loops - Compiler does not generate any No Nested DO Loops - Compiler generates hardware DO loops, but does not nest them Nested DO Loops - Compiler generates hardware DO loops, nesting them two deep. If hardware DO loops are enabled, debugging will be inconsistent about stepping into loops. Test immediately after this table contains additional Do-loop information. |
| Small Program Model | Checked - Compiler generates a more efficient switch table, provided that code fits into the range 0x0-0xFFFF Clear - Compilr generates an ordinary switch table. Do not check this checkbox unless the entire program code fits into the 0x0-0xFFFF memory range. |
| Large Data Memory Model | Checked - Extends DSP56800E addressing range by providing 24-bit address capability to instructions Clear - Does not extend address range 24-bit address modes allow access beyond the 64K-byte boundary of 16-bit addressing. |
| Globals Live in Lower Memory | Checked - Compiler uses 24-bit addressing for pointer and stack operations, 16-bit addressing for access to global and static data. Clear - Compiler uses 24-bit addressing for all data access. This checkbox is available only if the Large Data Model checkbox is checked. |
| Zero-Initialized Globals LIve in Data Instead of BSS | Checked - Globals initialized to zero reside in the .data section. Clear - Globals initialized to zero reside in the .bss section. |
| Segregate Data Section | Check to segregate data section. |
| Pad Pipeline for Debugger | Checked - Mandatory for using the debugger. Inserts NOPs after certain branch instructions to make breakpoints work reliably. Clear - Does not insert such NOPs. If you select this option, you should select the same option in the assembler panel. Selecting this option increases code size by 5 percent. But not selecting this option risks nonrecovery after the debugger comes to breakpoint branch instructions. |
| Generate Code for Profiling | Checked - Compiler generates code for profiling. Clear - Compiler does not generate code for profiling. |
| Generate elf file for 56800EX core | Checked - Compiler generates elf file for 56800EX core. Clear - Compiler does not generates elf file for 56800EX core. |
| Check Inline Assembly for Pipeline | Specifies pipeline conflict detection during compiling of inline assembly source code: Not Detected - compiler does not check for conflicts Conflict Error - compiler issues error messages if it detects conflicts Conflict Error/Hardware Stall Warning - compiler issues error messages if it detects conflicts, warnings if it detects hardware stalls |
| Check C Source for Pipeline | Specifies pipeline conflict detection during compiling of C source code: Not Detected - compiler does not check for conflicts Conflict error - compiler issues error messages if it detects conflicts |