English
Language : 

CC78K4 Datasheet, PDF (310/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 11 EXTENDED FUNCTIONS
Usage of sfr Area
sfr
RESTRICTIONS
• All sfr names must be described in uppercase letters. Lowercase letters are treated as ordinary variables.
EXAMPLE
(C source)
#ifdef _ _K4_ _
#pragma sfr
#endif
void main ()
{
CMK00 = 1;
PM0 = 0x11;
P0 = 10;
:
}
(Output object of compiler)
The C compiler outputs no declaration-related code but outputs the following code inside the function.
@@CODE CSEG
_main:
set1 CIC00.6
mov PM0, #011H
;17
sub P0, #0AH
;10
ret
310
User’s Manual U15556EJ1V0UM