beautypg.com

S (see the, Use register, Variables – Zilog Z8F0130 User Manual

Page 107

background image

UM013037-1212

Project Menu

Zilog Developer Studio II – Z8 Encore!

User Manual

83

For Assembly Only projects, the

Advanced

page is not available.

Use Register Variables

Setting this drop-down list box to

Normal

or

Aggressive

allows the compiler to allocate

local variables in registers, rather than on the stack, when possible. This usually makes the
resulting code smaller and faster and, therefore, the default is that this drop-down list box
is enabled. However, in some applications, this drop-down list box might produce larger
and slower code when a function contains a large number of local variables.

The effect of this drop-down list box on overall program size and speed can only be
assessed globally across the entire application, which the compiler cannot do automati-
cally. Usually the overall application size is smaller but there can be exceptions to that

Figure 55. Advanced Page of the Project Settings Dialog Box

Note: