- Main Page
- Modules
- Data Structures
- Files

- Search for |

- File List
- Globals

# xed-reg-role-enum.h File Reference

`#include "xed-common-hdrs.h"`

Go to the source code of this file.

## Defines

#define | _XED_REG_ROLE_ENUM_H_

## Enumerations

enum | xed_reg_role_enum_t { XED_REG_ROLE_INVALID, XED_REG_ROLE_NORMAL, XED_REG_ROLE_SEGREG0, XED_REG_ROLE_SEGREG1,
XED_REG_ROLE_BASE0,
XED_REG_ROLE_BASE1,
XED_REG_ROLE_INDEX,
XED_REG_ROLE_LAST
}

## Functions

XED_DLL_EXPORT xed_reg_role_enum_t | str2xed_reg_role_enum_t (const char *s)
| This converts strings to xed_reg_role_enum_t types.
XED_DLL_EXPORT const char * | xed_reg_role_enum_t2str (const xed_reg_role_enum_t p)
| This converts strings to xed_reg_role_enum_t types.
XED_DLL_EXPORT xed_reg_role_enum_t | xed_reg_role_enum_t_last (void)
| Returns the last element of the enumeration.

## Detailed Description

Definition in file xed-reg-role-enum.h.

## Define Documentation

#define _XED_REG_ROLE_ENUM_H_

| Definition at line 37 of file xed-reg-role-enum.h.

## Enumeration Type Documentation

enum xed_reg_role_enum_t

Enumerator:

  XED_REG_ROLE_INVALID |
  XED_REG_ROLE_NORMAL | Register is a normal register.
  XED_REG_ROLE_SEGREG0 | The segment register associated with the first memop.
  XED_REG_ROLE_SEGREG1 | The segment register associated with the second memop.
  XED_REG_ROLE_BASE0 | The base register associated with the first memop.
  XED_REG_ROLE_BASE1 | The base register associated with the second memop.
  XED_REG_ROLE_INDEX | The index register associated with the first memop.
  XED_REG_ROLE_LAST |

Definition at line 39 of file xed-reg-role-enum.h.