Setting (see the, Limit optimizations for easier debugging, Limit optimizations – Zilog ZUSBOPTS User Manual
Page 80: For easier debugging, Figure 49 sh

Menu Bar
UM017105-0511
52
Zilog Developer Studio II – ZNEO™
User Manual
Limit Optimizations for Easier Debugging.
Selecting this checkbox causes the compiler
to generate code in which certain optimizations are turned off. These optimizations can
cause confusion when debugging. For example, they might rearrange the order of instruc-
tions so that they are no longer exactly correlated with the order of source code statements
or remove code or variables that are not used. You can still use the debugger to debug your
code without selecting this checkbox, but it might difficult because of the changes that
these optimizations make in the assembly code generated by the compiler.
Selecting this checkbox makes it more straightforward to debug your code and interpret
what you see in the various Debug windows. However, selecting this checkbox also
causes a moderate increase in code size. Many users select this checkbox until they are
ready to go to production code and then deselect it.
Selecting this checkbox can also increase the data size required by your application. This
happens because this option turns off the use of register variables (see the
section on page 57). The variables that are no longer stored in registers must
Figure 49. Code Generation Page of the Project Settings Dialog Box