/// <summary> /// TEST mem16,imm16 /// </summary> public void TEST (WordMemory target, UInt16 source) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "TEST", target.ToString () + ", " + string.Format ("0x{0:x}", source), target, null, null, new UInt32 [] { source }, new string [] { "o16", "F7", "/0", "iw" })); }
/// <summary> /// VERW mem16 /// </summary> public void VERW (WordMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "VERW", target.ToString (), target, null, null, null, new string [] { "0F", "00", "/5" })); }
/// <summary> /// SHRD mem16,reg16,CL /// </summary> public void SHRD___CL (WordMemory target, R16Type source) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHRD___CL", target.ToString () + ", " + source.ToString () + ", " + "CL", target, null, source, null, new string [] { "o16", "0F", "AD", "/r" })); }
/// <summary> /// SMSW mem16 /// </summary> public void SMSW (WordMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SMSW", target.ToString (), target, null, null, null, new string [] { "0F", "01", "/4" })); }
/// <summary> /// FLDCW mem16 /// </summary> public void FLDCW (WordMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "FLDCW", target.ToString (), target, null, null, null, new string [] { "D9", "/5" })); }
/// <summary> /// SHRD mem16,reg16,imm8 /// </summary> public void SHRD (WordMemory target, R16Type source, Byte value) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHRD", target.ToString () + ", " + source.ToString () + ", " + string.Format ("0x{0:x}", value), target, null, source, new UInt32 [] { value }, new string [] { "o16", "0F", "AC", "/r", "ib" })); }
/// <summary> /// POP mem16 /// </summary> public void POP (WordMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "POP", target.ToString (), target, null, null, null, new string [] { "o16", "8F", "/0" })); }
/// <summary> /// CALL mem16 /// </summary> public void CALL (WordMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "CALL", target.ToString (), target, null, null, null, new string [] { "o16", "FF", "/2" })); }
/// <summary> /// MOVZX reg32,mem16 /// </summary> public void MOVZX (R32Type target, WordMemory source) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "MOVZX", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o32", "0F", "B7", "/r" })); }
/// <summary> /// NEG mem16 /// </summary> public void NEG (WordMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "NEG", target.ToString (), target, null, null, null, new string [] { "o16", "F7", "/3" })); }
/// <summary> /// MOV segreg,mem16 /// </summary> public void MOV (SegType target, WordMemory source) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "MOV", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "8E", "/r" })); }
/// <summary> /// IMUL reg16,mem16,imm16 /// </summary> public void IMUL (R16Type target, WordMemory source, UInt16 value) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "IMUL", target.ToString () + ", " + source.ToString () + ", " + string.Format ("0x{0:x}", value), source, null, target, new UInt32 [] { value }, new string [] { "o16", "69", "/r", "iw" })); }
/// <summary> /// FSTSW mem16 /// </summary> public void FSTSW (WordMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "FSTSW", target.ToString (), target, null, null, null, new string [] { "9B", "DD", "/7" })); }
/// <summary> /// XOR mem16,reg16 /// </summary> public void XOR (WordMemory target, R16Type source) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XOR", target.ToString () + ", " + source.ToString (), target, null, source, null, new string [] { "o16", "31", "/r" })); }
/// <summary> /// SHR mem16,CL /// </summary> public void SHR__CL (WordMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR__CL", target.ToString () + ", " + "CL", target, null, null, null, new string [] { "o16", "D3", "/5" })); }
/// <summary> /// XOR mem16,imm8 /// </summary> public void XOR (WordMemory 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 [] { "o16", "83", "/6", "ib" })); }
/// <summary> /// SHR mem16,imm8 /// </summary> public void SHR (WordMemory 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 [] { "o16", "D1", "/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 [] { "o16", "C1", "/5", "ib" })); } }
/// <summary> /// ADC reg16,mem16 /// </summary> public void ADC (R16Type target, WordMemory source) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "ADC", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o16", "13", "/r" })); }
/// <summary> /// FISUB mem16 /// </summary> public void FISUB (WordMemory target) { this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "FISUB", target.ToString (), target, null, null, null, new string [] { "DE", "/4" })); }