English
Language : 

CC78K4 Datasheet, PDF (335/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 11 EXTENDED FUNCTIONS
_ _boolean1 type variables
_ _boolean1
(Output object of compiler…continued)
@@CODE CSEG
_main :
set1
clr1
L0003 :
bf
mov1
mov1
call
br
L0004 :
bf
bf
call
L0005 :
L0006 :
ret
END
_data1
_data2
;Initialize by 1
;Initialize by 0
_data1, $L0004 ;Judgment
CY, _data2
;Assignment
_data1, CY
;Assignment
!!_testb
$L0003
_data1, $L0005 ;Logical AND expression
_data2, $L0005 ;Logical AND expression
!!_chgb
COMPATIBILITY
From another C compiler to this C compiler
• Modification is not required if the keyword _ _boolean1 is not used.
• When changing to _ _boolean1 type variables, modify the program according to the method above.
From this C compiler to another C compiler
• Changes are made by #define. For details, refer to 11.6 Modifications of C Source (by these changes,
_ _boolean1 type variables are handled as ordinary variables).
User’s Manual U15556EJ1V0UM
335