public static boolean canBeImmediate(int val) { return (val >= LOWER_IMMEDIATE) && (val <= UPPER_IMMEDIATE);
public static boolean canBeImmediate(int val, boolean signed) { if (signed) return (val >= LOWER_IMMEDIATE) && (val <= UPPER_IMMEDIATE); else return (val >= 0) && (val <= UNSIGNED_UPPER_IMMEDIATE);
  public static boolean canBeImmediate(int val) {    return (val >= LOWER_IMMEDIATE) && (val <= UPPER_IMMEDIATE);  }