Comply to c89 compilers other than gcc (Hanzac Chen)
This commit is contained in:
parent
6ed868c51c
commit
88b3cb570e
1 changed files with 3 additions and 0 deletions
|
|
@ -109,9 +109,12 @@ typedef struct Operand {
|
||||||
} Operand;
|
} Operand;
|
||||||
|
|
||||||
static const uint8_t reg_to_size[5] = {
|
static const uint8_t reg_to_size[5] = {
|
||||||
|
/*
|
||||||
[OP_REG8] = 0,
|
[OP_REG8] = 0,
|
||||||
[OP_REG16] = 1,
|
[OP_REG16] = 1,
|
||||||
[OP_REG32] = 2,
|
[OP_REG32] = 2,
|
||||||
|
*/
|
||||||
|
0, 0, 1, 0, 2
|
||||||
};
|
};
|
||||||
|
|
||||||
#define WORD_PREFIX_OPCODE 0x66
|
#define WORD_PREFIX_OPCODE 0x66
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue