docs: def max(self) -> int:
          """
          Get the maximum value this immediate can have
  
          :return: Maximum value of this immediate
          """
          if self.signed:
              v = (1 << (self.bits - 1)) - 1
          else:
              v = (1 << self.bits) - 1
          if self.lsb0:
              v = v - (v % 2)
          return v