Figure 91. auto indentation in c program, Figure 92. auto indentation with assembly program – Zilog ZUSBOPTS User Manual
Page 146

Using the Editor
UM017105-0511
118
Zilog Developer Studio II – ZNEO™
User Manual
In C program code, auto indentation is supported with brace characters { } and keywords
if, else, while, for, do, case, default.
In assembly program code, the auto indentation is supported with macros and conditional
directives such as
ifdef
,
ifndef
,
if
,
else
,
elif
,
elseif
,
ifsame
,
ifma
,
macro
,
$while
,
$repeat
,
with
,
endif
,
endmac
,
endm
,
endmacro
,
macend
,
$wend
,
$until
and
endwith
.
Figure 92 shows an example of autoindentation with an assembly program. Note that all of
the lines between
ifdef
and
endif
are automatically indented.
Figure 91. Auto Indentation in C Program
Figure 92. Auto Indentation With Assembly Program