2.9.3.3 Execute until return is completed (Return Out execution)

Step-execute the program so that the program will stop when it returns from the current function to the calling function. When the execution of source line/instruction that require checking has been completed, you can perform step execution using this instruction so that you can make the program return to the calling function without step executing the remaining instructions inside the function. This instruction can be performed by clicking the button on the debug toolbar.

Caution 1.

If a program is returned out in the main function, it will break inside the start-up routine.

Caution 2.

If a program is returned out in a function that has called the longjmp function, break may not occur.

Caution 3.

Executing Return Out from the recursive function may cause the program to run in a free-run mode.

Caution 4.

Executing Return Out from a function that uses a jump instruction (i.e. not an RTS (return from subroutine) instruction) to return to the calling function is not possible.

Caution 5.

[E1] [E20] [EZ Emulator]
While returning out in a function or subroutine, interrupts and resetting are allowed.

Caution 6.

Executing a return-out command from a recursive function may lead to execution stopping at the address of the return instruction in the called function instead of the correct line in the calling function.