English
Language : 

CC78K0S Datasheet, PDF (309/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
(1) callt functions
callt Functions
CHAPTER 11 EXTENDED FUNCTIONS
callt/_ _callt
FUNCTION
• The callt instruction stores the address of a function to be called in an area [40H to 7FH] called the callt
table, so that the function can be called with a shorter code than the one used to call the function directly.
• To call a function declared by the callt (or _ _ callt) (called the callt function), a name with ? prefixed to the
function name is used. To call the function, the callt instruction is used.
• The function to be called does not differ from an ordinary function.
EFFECT
The object code can be shortened.
USAGE
Add the callt/_ _ callt attribute to the function to be called as follows (described at the beginning).
callt extern type-name function-name
_ _callt extern type-name function-name
EXAMPLE
_ _callt void func1 (void) ;
_ _callt void func1 (void) {
.
.
.
/* function body */
.
.
.
}
User’s Manual U14872EJ1V0UM
309