예제 #1
0
		/// <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" }));
		}
예제 #2
0
		/// <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" }));
		}
예제 #3
0
		/// <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" }));
		}
예제 #4
0
		/// <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" }));
		}
예제 #5
0
		/// <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" }));
		}
예제 #6
0
		/// <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" }));
		}
예제 #7
0
		/// <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" }));
		}
예제 #8
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" }));
		}
예제 #9
0
		/// <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" }));
		}
예제 #10
0
		/// <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" }));
		}
예제 #11
0
		/// <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" }));
		}
예제 #12
0
		/// <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" }));
		}
예제 #13
0
		/// <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" }));
		}
예제 #14
0
		/// <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" }));
		}
예제 #15
0
		/// <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" }));
		}
예제 #16
0
		/// <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" }));
		}
예제 #17
0
		/// <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" }));
			}
		}
예제 #18
0
		/// <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" }));
		}
예제 #19
0
		/// <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" }));
		}