📖
WiKi
Shop OnlinePlay StoreApp StoreYouTube
English
English
  • Help & Info | MTools
  • Help & Info | MCalc
  • Help & Info | MTools BLE
  • MTools
    • Simple Startup
    • How to Use Sniffer
    • Algorithm & Expression
    • CRC-8 & CRC-16
    • Mifare Classic Tool vs MTools
    • Terminal for ACR122U & PN532
  • MTools BLE
  • How To Unlock
  • How To Use ChameleonUltra
  • How to use ChameleonUltra to write Mifare Dump
  • How to use TAG Scanner
  • How to use UID Changer
  • Change UID of Gen3 Magic Card(Deprecated)
  • Upgrade the firmware of ChameleonUltra and ChameleonLite
  • Upgrade the firmware of Pixl.js
  • nRF52 OTA Firmware Updates
  • PN532 CLI
    • How to Start
    • NTAG Emulate
Powered by GitBook
On this page
  • Available Operator
  • Example
  • Extended Usage
  1. MTools

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

Last updated 3 years ago

Visit WebSite

mXparser
Know more
Know more