public void Cmps_mem64_mem64() { var instruction = new Cmps(DataSize.Bit64); Assert16BitInstructionFails(instruction); Assert32BitInstructionFails(instruction); Assert64BitInstruction(instruction, new byte[] { 0x48, 0xA7 }); }
public void Cmps_mem32_mem32() { var instruction = new Cmps(DataSize.Bit32); Assert16BitInstruction(instruction, new byte[] { 0x66, 0xA7 }); Assert32BitInstruction(instruction, new byte[] { 0xA7 }); Assert64BitInstruction(instruction, new byte[] { 0xA7 }); }
public void Cmps_mem8_mem8() { var instruction = new Cmps(DataSize.Bit8); Assert16BitInstruction(instruction, new byte[] { 0xA6 }); Assert32BitInstruction(instruction, new byte[] { 0xA6 }); Assert64BitInstruction(instruction, new byte[] { 0xA6 }); }