Algorithm & Expression

Available Operator

Name

Operator

Simple

+ - 脳 梅

+ - * /

modulo

#

brackets

( )

and

@&

or

@|

xor

@^

not

@~

Continuous summation

b1+b2+路路路+b14

sum(1:14)

Continuous XOR

b1 xor b2 xor 路路路 xor b10

sum(1:10)

Continuous logical AND

b1 and b2 and 路路路 and b14

and(1:14)

CRC8/CRC16

Example

Rule

Expression

b2 = b1

b2=b1

b4 = b2 + 0x1F

b4 = b2 + 31

b15 = b0 xor b1

b15 = b0 @^ b1

b2= not b0

b2 = @~b0

  • Please convert the hexadecimal number to decimal

  • Drag expression up/down to change the sequence

  • The calculation starts from the top to the end.

Extended Usage

Visit mXparser WebSite

Last updated