/// <summary> /// XOR mem8,imm8 /// </summary> public void XOR (ByteMemory target, Byte source) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XOR", target.ToString () + ", " + string.Format ("0x{0:x}", source), target, null, null, new UInt32 [] { source }, new string [] { "80", "/6", "ib" })); }
/// <summary> /// ADC reg8,mem8 /// </summary> public void ADC (R8Type target, ByteMemory source) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "ADC", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "12", "/r" })); }
/// <summary> /// SHR mem8,imm8 /// </summary> public void SHR (ByteMemory target, Byte source) { if (source == 1) this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR__1", target.ToString () + ", " + "1", target, null, null, null, new string [] { "D0", "/5" })); else { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR", target.ToString () + ", " + string.Format ("0x{0:x}", source), target, null, null, new UInt32 [] { source }, new string [] { "C0", "/5", "ib" })); } }
/// <summary> /// XOR mem8,reg8 /// </summary> public void XOR (ByteMemory target, R8Type source) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XOR", target.ToString () + ", " + source.ToString (), target, null, source, null, new string [] { "30", "/r" })); }
/// <summary> /// SHR mem8,CL /// </summary> public void SHR__CL (ByteMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR__CL", target.ToString () + ", " + "CL", target, null, null, null, new string [] { "D2", "/5" })); }
/// <summary> /// SETZ mem8 /// </summary> public void SETZ (ByteMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SETZ", target.ToString (), target, null, null, null, new string [] { "0F", "94", "/0" })); }
/// <summary> /// NOT mem8 /// </summary> public void NOT (ByteMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "NOT", target.ToString (), target, null, null, null, new string [] { "F6", "/2" })); }
/// <summary> /// MOVZX reg32,mem8 /// </summary> public void MOVZX (R32Type target, ByteMemory source) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "MOVZX", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o32", "0F", "B6", "/r" })); }
/// <summary> /// INC mem8 /// </summary> public void INC (ByteMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "INC", target.ToString (), target, null, null, null, new string [] { "FE", "/0" })); }