| 36 | |
| 37 | |
| 38 | static xed_reg_enum_t GetCountRegister(const size_t addrSize) |
| 39 | { |
| 40 | switch (addrSize) |
| 41 | { |
| 42 | case 2: |
| 43 | return XED_REG_CX; |
| 44 | case 4: |
| 45 | return XED_REG_ECX; |
| 46 | default: |
| 47 | return XED_REG_RCX; |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | //TODO handle imms for MPX args |
| 52 | // For most instructions, instruction_index == operand_index, but some instructions (floating point, some others) have an implicit first operand (st0), so we have to remap things a bit |
no outgoing calls
no test coverage detected