5.5.3 Bit logical OR : | ................................................................................................................................. 5-22
5.5.4 Bit exclusive logical OR : ^ ................................................................................................................ 5-23
5.5.5 Bit right shift : >> ................................................................................................................................ 5-24
5.5.6 Bit left shift : << .................................................................................................................................. 5-25
5.6 Standard Functions .................................................................................................................................. 5-27
5.6.1 Sine : SIN ........................................................................................................................................... 5-27
5.6.2 Cosine : COS..................................................................................................................................... 5-28
5.6.3 Tangent : TAN ................................................................................................................................... 5-29
5.6.4 Arcsine : ASIN ................................................................................................................................... 5-30
5.6.5 Arccosine : ACOS ............................................................................................................................. 5-31
5.6.6 Arctangent : ATAN ............................................................................................................................ 5-32
5.6.7 Square root : SQRT .......................................................................................................................... 5-33
5.6.8 Natural logarithm : LN ....................................................................................................................... 5-34
5.6.10 Absolute value : ABS ...................................................................................................................... 5-36
5.6.11 Round-off : RND .............................................................................................................................. 5-37
5.6.12 Round-down : FIX ........................................................................................................................... 5-38
5.6.13 Round-up : FUP .............................................................................................................................. 5-39
BIN conversion : BIN ......................................................................................................... 5-40
BCD conversion : BCD ........................................................................................................ 5-41
5.7 Type Conversions .................................................................................................................................... 5-42
5.8 Bit Device Statuses .................................................................................................................................. 5-53
5.9 Bit Device Controls ................................................................................................................................... 5-55
5.9.1 Device set : SET ................................................................................................................................ 5-55
5.9.2 Device reset : RST ............................................................................................................................ 5-57
5.9.3 Device output : DOUT ....................................................................................................................... 5-59
5.9.4 Device input : DIN ............................................................................................................................. 5-60
5.9.5 Bit device output : OUT ..................................................................................................................... 5-61
5.10 Logical Operations ................................................................................................................................. 5-62
5.10.2 Logical negation : ! .......................................................................................................................... 5-63
5.10.3 Logical AND : * ................................................................................................................................ 5-64
5.10.4 Logical OR : + .................................................................................................................................. 5-65
5.11 Comparison Operations ......................................................................................................................... 5-66
5.11.1 Equal to : == .................................................................................................................................... 5-66
5.11.2 Not equal to : != ............................................................................................................................... 5-67
5.11.3 Less than : < .................................................................................................................................... 5-68
5.11.4 Less than or equal to : <= ............................................................................................................... 5-69
.............................................................................................. 5-26
A - 15