Download CubeSuite Ver.1.30 Integrated Development Environment 78K0

Transcript
CubeSuite Ver.1.30
CHAPTER 6 FUNCTION SPECIFICATION
Function Name
Normal Model
Static Model
strtod
35
-
itoa
10
10
ltoa
16
-
ultoa
16
-
rand
14 (15)
srand
0
Note 2
-
bsearch
32 + n
Note 3
-
qsort
16 + nNote 4
-
strbrk
0
0
strsbrk
4
4
stritoa
10
10
strltoa
16
-
strultoa
16
-
Notes 1.
n is the total stack consumption among external functions registered by the atexit function.
2.
Values in the parentheses are for when a multiplier/divider is used.
3.
n is the stack consumption of external functions called from bsearch.
4.
n is (20+ (stack consumption of external functions called from qsort) ) - (1 + (number of recursive calls) ).
(6) string.h
Function Name
Normal Model
Static Model
memcpy
4
6
memmove
4
6
strcpy
2
4
strncpy
4
6
strcat
2
4
strncat
4
6
memcmp
2
4
strcmp
2
2
strncmp
2
4
memchr
2
2
strchr
4
0
strrchr
6
6
strspn
4
4
strcspn
4
4
strpbrk
6
6
strstr
4
4
strtok
4
4
R20UT0004EJ0100 Rev.1.00
Jul 01, 2010
Page 756 of 822