![Epson S1C88 Series Manual Download Page 279](http://html.mh-extra.com/html/epson/s1c88-series/s1c88-series_manual_106917279.webp)
APPENDIX B CREATING PROCEDURE OF ASSEMBLY SOURCE FILE (Sub tool chain)
S5U1C88000C MANUAL II
EPSON
267
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
3) [<conditional expression>] <logical operator> <conditional expression>
A complex conditional expression can be expressed using a logical operator. The logical operation
expressions include the following :
Unary operator:
!
"true" if the conditional expression is "false"
Binary operator:
&&
"true" if the left side is "true" and the right side is also "true"
||
"true" if the left side is "true" or the right side is "true"
The operators will be classified as follows from high to low precedence : either an operation expres-
sion or a conditional expression enclosed by a round bracket > a unary operator > an operator of an
ordinary operation expression > a relational operator > &&> ||
The same operator precedence will take effect inside a round bracket. A unary operator is defined as a
unary operator of an ordinary operation expression and "!" of a logical operator.
In addition, "character string" can be used as an operation expression.
When such character strings occurs on both sides of a relational operator, a character string will be
compared to another character string. Otherwise, the value of the length of character strings will be
compared.
Example:
table
macro &1,&2
ifc
narg == 1
ifc
! USE_DEFAULT || DEFAULT_SIZE<64
&1:
db
0(64)
elsec
&1:
db
0(DEFAULT_SIZE)
endif
elsec
&1: db
0(&2)
endif
endm
Related items:
EQU, IFDEF, IFNDEF, SET
Limitation:
This pseudo-instruction can only be used in the structured preprocessor sap88. It cannot be accepted
in the asm88 and will cause an error if used.