You can use expressions in two ways:

1. In the expression field here

2. Directly in each number's name field

-

ID References:

  • Use IDx to reference other numbers (e.g. ID1, ID2)
  • Example: ID1 << ID2 shifts ID1 by ID2's value

-

Supported operations:

  • & (AND)
  • | (OR)
  • ^ (XOR)
  • ~ (NOT)
  • << (left shift)
  • >> (right shift)

-

Examples:

  • 0xff & 0x01
  • 0b1010 | 0b0101
  • ~42
  • 8 << 2
  • ID1 & 0xff
  • ID1 << ID2
  • ID1 | (ID2 << 4)