
Using the Integrated Development Environment UM013037-1212
70
Zilog Developer Studio II – Z8 Encore!
User Manual
CPU
The
CPU drop-down list box defines which CPU you want to define for the target. For a
list of CPUs, see the Z8 Encore! Product Support
section on page 3.
To change the CPU for your project, select the appropriate CPU in the
CPU drop-down list
box.
Selecting a CPU does not automatically select include files for your C or assembly source
code. Include files must be manually included in your code. Selecting a new CPU automat-
ically updates the compiler preprocessor defines, assembler defines, and, where necessary,
the linker address space ranges and selected debugger target based on the selected CPU.
Show Warnings
The
Show Warnings checkbox controls the display of warning messages during all
phases of the build. If the checkbox is enabled, warning messages from the assembler,
compiler, librarian, and linker are displayed during the build. If the checkbox is disabled,
all of these warnings are suppressed.
Generate Debug Information
The
Generate Debug Information checkbox makes the build generate debug information
that can be used by the debugger to allow symbolic debugging. Enable this option if you
are planning to debug your code using the debugger. The checkbox enables debug infor-
mation in the assembler, compiler, and linker.
Enabling this option usually increases your overall code size by a moderate amount for
two reasons. First, if your code makes any calls to the C run-time libraries, the library ver-
sion used is the one that was built using the Limit Optimizations for Easier Debugging set-
ting (see the Limit Optimizations for Easier Debugging
section on page 77). Second, the
generated code sets up the stack frame for every function in your own program. Many
functions (those whose parameters and local variables are not too numerous and do not
have their addresses taken in your code) would not otherwise require a stack frame in the
Z8 Encore! architecture, so the code for these functions is slightly smaller if this checkbox
is disabled.
This checkbox interacts with the Limit Optimizations for Easier Debugging checkbox on
the
Code Generation page (see the Limit Optimizations for Easier Debugging section on
page 77). When the
Limit Optimizations for Easier Debugging checkbox is selected,
debug information is always generated so that debugging can be performed. The
Generate
Debug Information
checkbox is grayed out (disabled) when the Limit Optimizations for
Easier Debugging
checkbox is selected. If the Limit Optimizations for Easier Debug-
ging
checkbox is later deselected (even in a later ZDS II session), the Generate Debug
Kommentare zu diesen Handbüchern