Freescale Semiconductor Microcontrollers User Manual

Page 802

Advertising
background image

Debugger Engine Commands

Debugger Commands

802

Microcontrollers Debugger Manual

Example 4:

When executing the following file:

define i = 1

REPEAT

define i = i + 1

ls

UNTIL i == 4

The following log file is generated:

repeat

until condition

!define i = 1

!REPEAT

! define i = i + 1

! ls

i 0x2 (2)

!UNTIL i == 4

! define i = i + 1

! ls

i 0x3 (3)

!UNTIL i == 4

! define i = i + 1

! ls

i 0x4 (4)

!UNTIL i == 4

Advertising