Example #1
0
		/// <summary>
		/// XCHG mem32,reg32
		/// </summary>
		public void XCHG (DWordMemory target, R32Type source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XCHG", target.ToString () + ", " + source.ToString (), target, null, source, null, new string [] { "o32", "87", "/r" }));
		}
Example #2
0
		/// <summary>
		/// XOR reg32,mem32
		/// </summary>
		public void XOR (R32Type target, DWordMemory source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XOR", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o32", "33", "/r" }));
		}
Example #3
0
		/// <summary>
		/// SHRD mem32,reg32,CL
		/// </summary>
		public void SHRD___CL (DWordMemory target, R32Type source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHRD___CL", target.ToString () + ", " + source.ToString () + ", " + "CL", target, null, source, null, new string [] { "o32", "0F", "AD", "/r" }));
		}
Example #4
0
		/// <summary>
		/// TEST mem32,imm32
		/// </summary>
		public void TEST (DWordMemory target, UInt32 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 [] { "o32", "F7", "/0", "id" }));
		}
Example #5
0
		/// <summary>
		/// SHR mem32,imm8
		/// </summary>
		public void SHR (DWordMemory 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 [] { "o32", "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 [] { "o32", "C1", "/5", "ib" }));
			}
		}
Example #6
0
		/// <summary>
		/// SHRD mem32,reg32,imm8
		/// </summary>
		public void SHRD (DWordMemory target, R32Type 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 [] { "o32", "0F", "AC", "/r", "ib" }));
		}
Example #7
0
		/// <summary>
		/// POP mem32
		/// </summary>
		public void POP (DWordMemory target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "POP", target.ToString (), target, null, null, null, new string [] { "o32", "8F", "/0" }));
		}
Example #8
0
		/// <summary>
		/// FLD mem32
		/// </summary>
		public void FLD (DWordMemory target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "FLD", target.ToString (), target, null, null, null, new string [] { "D9", "/0" }));
		}
Example #9
0
		/// <summary>
		/// MOV segreg,mem32
		/// </summary>
		public void MOV (SegType target, DWordMemory source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "MOV", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o32", "8E", "/r" }));
		}
Example #10
0
		/// <summary>
		/// NEG mem32
		/// </summary>
		public void NEG (DWordMemory target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "NEG", target.ToString (), target, null, null, null, new string [] { "o32", "F7", "/3" }));
		}
Example #11
0
		/// <summary>
		/// JMP FAR mem32
		/// </summary>
		public void JMP_FAR (DWordMemory target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "JMP_FAR", target.ToString (), target, null, null, null, new string [] { "o32", "FF", "/5" }));
		}
Example #12
0
		/// <summary>
		/// IMUL reg32,mem32,imm32
		/// </summary>
		public void IMUL (R32Type target, DWordMemory source, UInt32 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 [] { "o32", "69", "/r", "id" }));
		}
Example #13
0
		/// <summary>
		/// FSUBR mem32
		/// </summary>
		public void FSUBR (DWordMemory target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "FSUBR", target.ToString (), target, null, null, null, new string [] { "D8", "/5" }));
		}
Example #14
0
		/// <summary>
		/// XOR mem32,imm8
		/// </summary>
		public void XOR (DWordMemory 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 [] { "o32", "83", "/6", "ib" }));
		}
Example #15
0
		/// <summary>
		/// SHR mem32,CL
		/// </summary>
		public void SHR__CL (DWordMemory target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR__CL", target.ToString () + ", " + "CL", target, null, null, null, new string [] { "o32", "D3", "/5" }));
		}
Example #16
0
		/// <summary>
		/// CALL mem32
		/// </summary>
		public void CALL (DWordMemory target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "CALL", target.ToString (), target, null, null, null, new string [] { "o32", "FF", "/2" }));
		}
Example #17
0
		/// <summary>
		/// FISUB mem32
		/// </summary>
		public void FISUB (DWordMemory target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "FISUB", target.ToString (), target, null, null, null, new string [] { "DA", "/4" }));
		}