Commit dfb8023d authored by Christian Würdig's avatar Christian Würdig
Browse files

changed adressmode attribute types

parent 26b88418
......@@ -23,8 +23,24 @@ typedef enum {
* I - Index is set
* S - Scale is set
*/
enum {
ia32_O = 1,
ia32_B = 2,
ia32_I = 4,
ia32_S = 8
};
typedef enum {
ia32_am_N = 0, ia32_am_O, ia32_am_B, ia32_am_I, ia32_am_IS, ia32_am_OB, ia32_am_OI, ia32_am_OIS, ia32_am_OBIS
ia32_am_N = 0,
ia32_am_O = ia32_O,
ia32_am_B = ia32_B,
ia32_am_I = ia32_I,
ia32_am_IS = ia32_I | ia32_S,
ia32_am_OB = ia32_O | ia32_B,
ia32_am_OI = ia32_O | ia32_I,
ia32_am_OIS = ia32_O | ia32_I | ia32_S,
ia32_am_OBIS = ia32_O | ia32_B | ia32_I | ia32_S
} ia32_am_flavour_t;
typedef struct _ia32_register_req_t {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment