Unified · Split
| @@ -109,9 +109,12 @@ typedef struct Operand { · 108 unmodified lines | |||
| 109 | } Operand; | 109 | } Operand; |
| 110 | 110 | ||
| 111 | static const uint8_t reg_to_size[5] = { | 111 | static const uint8_t reg_to_size[5] = { |
| 112 | /* | ||
| 112 | [OP_REG8] = 0, | 113 | [OP_REG8] = 0, |
| 113 | [OP_REG16] = 1, | 114 | [OP_REG16] = 1, |
| 114 | [OP_REG32] = 2, | 115 | [OP_REG32] = 2, |
| 116 | */ | ||
| 117 | 0, 0, 1, 0, 2 | ||
| 115 | }; | 118 | }; |
| 116 | 119 | ||
| 117 | #define WORD_PREFIX_OPCODE 0x66 | 120 | #define WORD_PREFIX_OPCODE 0x66 |