Intel® X86 Encoder Decoder
xed-reg-class.h File Reference
#include "xed-types.h"
#include "xed-reg-enum.h"
#include "xed-reg-class-enum.h"

Functions

XED_DLL_EXPORT xed_reg_enum_t xed_get_largest_enclosing_register (xed_reg_enum_t r)
 Returns the largest enclosing register for any kind of register; This is mostly useful for GPRs. More...
 
XED_DLL_EXPORT xed_reg_enum_t xed_get_largest_enclosing_register32 (xed_reg_enum_t r)
 Returns the largest enclosing register for any kind of register; This is mostly useful for GPRs in 32b mode. More...
 
XED_DLL_EXPORT xed_uint32_t xed_get_register_width_bits (xed_reg_enum_t r)
 Returns the width, in bits, of the named register. More...
 
XED_DLL_EXPORT xed_uint32_t xed_get_register_width_bits64 (xed_reg_enum_t r)
 Returns the width, in bits, of the named register. More...
 
XED_DLL_EXPORT xed_reg_class_enum_t xed_gpr_reg_class (xed_reg_enum_t r)
 Returns the specific width GPR reg class (like XED_REG_CLASS_GPR32 or XED_REG_CLASS_GPR64) for a given GPR register. More...
 
XED_DLL_EXPORT xed_reg_class_enum_t xed_reg_class (xed_reg_enum_t r)
 Returns the register class of the given input register. More...