private static void checkIntWordRange(Token token, int value)
        throws TokenCompileError {
        if((value >= 0 && (value & 0xffff0000) != 0)
           || (value < 0 && (value & 0xffff8000) != 0xffff8000)) {
            throw new TokenCompileError("Value can not fit in 16 bits", token);
        }
    }