• Set the same program counter and stack pointer values (PC = H'00000800 and R15 =
H'00010000) as were set in section 6.8, Setting Registers (again, use the [Register] window).
Click the [Go] button.
• If program execution is failed, reset the device and execute again the procedures above.
• After the break in program execution, select [Stack Trace] from the [Code] submenu of the
[View] menu to open the [Stack Trace] window.
Figure 6.61 shows that the position of the program counter is currently at the selected line of the
sort() function, and that the sort() function is called from the main() function.
To remove the PC breakpoint, double-click the [Source] column in the sort function again.
Note: For details on this function, refer to the online help.
360
Figure 6.61 [Stack Trace] Window