Endfor, Endif – Freescale Semiconductor Microcontrollers User Manual
Page 780

Debugger Engine Commands
Debugger Commands
780
Microcontrollers Debugger Manual
ENDFOR
The ENDFOR keyword is associated with the
command.
Usage
ENDFOR
Components
Debugger engine.
Example:
for i = 1..5
define multi5 = 5 * i
endfor
After the ENDFOR instruction, i is equal to 5.
ENDIF
The ENDIF keyword is associated with the
command.
Usage
ENDIF
Components
Debugger engine.
Example:
if (CUR_CPU == 12)
DW &counter
else
DB &counter
endif