Renesas SH-4A User Manual page 296

Microcomputer development environment system
Hide thumbs Also See for SH-4A:
Table of Contents

Advertisement

⎯ There is a restriction when the tail call is used to call another function from the function
that has been called by the tail call. If the tail call occurs continuously, three-step
measurement will be correctly performed.
(ii) Nesting functions
If 32-step or more calls are generated from the top function within the range to be
measured, correct measurement will not be performed. A warning message will be
displayed.
(iii) Calling from a function outside the measurement range
Correct measurement will not be performed if a function outside the measurement range
calls a function to be measured and the callee function cannot return correctly to the caller
function.
Even if the callee function returns correctly to the caller function, correct measurement will
not be performed if other functions are called within three instructions from the return
address.
The user program execution starts from a function outside the measurement range and then
moves to a function within the measurement range. After that, the execution branches to
another function outside the measurement range.
272
f( ){
g( ){
g( );
h( );
}
}
Step 1
Figure 5.98 Restriction on Call
h( ){
k( ){
k( );
}
}
Step 2
Step 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh4al-dspE200f

Table of Contents