English
Language : 

CC78K0S Datasheet, PDF (168/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 10 LIBRARY FUNCTIONS
<2> Calling func by a call instruction (by the caller)
Control is transferred to the function func when the stack is in the state shown below.
Low address
Stack pointer
Return
Lower 16 bits of b
Higher 16 bits of b
c
High address
<3> Saving the register used (by the callee)
Low address
Stack pointer
Stack pointer
when called
High address
HL
Return
Lower 16 bits of b
Higher 16 bits of b
c
<4> The first argument called by the register is placed on the stack
Low address
Stack pointer
High address
a
HL
Return
Lower 16 bits of b
Higher 16 bits of b
c
168
User’s Manual U14872EJ1V0UM