Fujitsu CM25-00322-1E Manual De Usuario

Descargar
Página de 322
244
CHAPTER 4  MENUS
4.6.9
Call 
This section explains the SOFTUNE WORKBENCH function call function. 
■ Function call 
The specified function can be started during debugging without reference to the flow of the program. This
function is known as function call. 
Figure 4.6-14  Function Call Dialog Box
When the function call dialog box shown in Figure 4.6-14 opens, specify the function you want to call with
a correct argument. 
If a breakpoint is set in the called function, the program stops at this breakpoint. When processing of the
called function is terminated and control is returned, the function call result dialog box shown in Figure
Then, the PC returns to the value before the function was called. 
Figure 4.6-15  Function Call Result Dialog Box
[Example] 
When function definition is int sub (int param);, specify the function call as follows: 
sub (10): When a constant value is directly specified 
sub (ii): When variable ii is specified