astral/include/x86.h
bool match_size_imm(long long imm, bit_size size)
{
    switch (size)
    {
    case b8:
        return (imm < bitsize_border8);
    case b16:
        return (imm < bitsize_border16);
    case b32:
        return (imm < bitsize_border32);
    case b64:
        return true;
    }
    return false;
}
//judge compatibility between the form and an immediate value

judge compatibility between the form and an immediate value
judge compatibility between the form and an immediate value
bool match_size_imm(long long imm, bit_size size)
{
    switch (size)
    {
    case b8:
        return (imm < bitsize_border8);
    case b16:
        return (imm < bitsize_border16);
    case b32:
        return (imm < bitsize_border32);
    case b64:
        return true;
    }
    return false;
}
bool match_size_imm ( long long imm , bit_size size ) { switch ( size ) { case b8 : return ( imm < bitsize_border8 ) ; case b16 : return ( imm < bitsize_border16 ) ; case b32 : return ( imm < bitsize_border32 ) ; case b64 : return true ; } return false ; }
judge compatibility between the form and an immediate value
judge compatibility between the form and an immediate value