beautypg.com

Zilog EZ80F916 User Manual

Page 82

background image

UM014423-0607

Using the Integrated Development Environment

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

62

Figure 49. Code Generation Page of the Project Settings Dialog Box

Optimize For

Most code optimizations that can be applied by the compiler generate code that is both
more compact and faster after the optimization. However, in a small percentage of cases,
there is a trade-off between optimizing for these two goals. When you select Size in this
drop-down list box, the compiler makes smaller code size its preferred criterion in such
cases. Conversely, when you select Speed, the compiler values faster execution speed
above size when a trade-off must be made. The differences in size and speed for your
overall application between these two settings is real but, usually, fairly small due to the
relative rarity of code that presents a size-speed optimization trade-off.

Limit Optimizations for Easier Debugging

Selecting this check box causes the compiler to generate code in which certain optimiza-
tions are turned off. These optimizations can cause confusion when debugging. For exam-
ple, they might rearrange the order of instructions so that they are no longer exactly
correlated with the order of source code statements or remove code or variables that are

This manual is related to the following products: