return;
}
+ if (current_templates[0].start->base_opcode == 0xC0 && instruction.operands == 2) {
+
+ if (instruction.types[1].imm8 || instruction.types[1].imm8s || instruction.types[1].imm16 || instruction.types[1].imm32 || instruction.types[1].imm32s || instruction.types[1].imm64) {
+
+ if (instruction.imms[1]->type == EXPR_TYPE_CONSTANT && instruction.imms[1]->add_number == 1) {
+ instruction.operands--;
+ }
+
+ }
+
+ }
+
/**
* All Intel instructions have reversed operands except "bound" and some other.
* "ljmp" and "lcall" with 2 immediate operands also do not have operands reversed.