Handle prefix ordering correctly

This commit is contained in:
Alexis Engelke
2019-01-13 20:36:02 +01:00
parent 3ed7cb4a96
commit 2d1a9582b8
2 changed files with 32 additions and 59 deletions

View File

@@ -61,13 +61,16 @@ enum RegIndex {
RI_DS,
RI_FS,
RI_GS,
// No register specified
RI_NONE = 0x3f
};
typedef uint8_t Reg;
#define reg_index(reg) (reg)
#define reg_is_none(reg) ((reg) == REG_NONE)
#define REG_NONE (0x3f)
#define REG_NONE RI_NONE
enum
{