當前位置: 首頁>>代碼示例>>C#>>正文


C# R16Type.ToString方法代碼示例

本文整理匯總了C#中SharpOS.AOT.X86.R16Type.ToString方法的典型用法代碼示例。如果您正苦於以下問題:C# R16Type.ToString方法的具體用法?C# R16Type.ToString怎麽用?C# R16Type.ToString使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在SharpOS.AOT.X86.R16Type的用法示例。


在下文中一共展示了R16Type.ToString方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: SHRD

		/// <summary>
		/// SHRD rmreg16,reg16,imm8
		/// </summary>
		public void SHRD (R16Type 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), null, target, source, new UInt32 [] { value }, new string [] { "o16", "0F", "AC", "/r", "ib" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例2: IMUL

		/// <summary>
		/// IMUL reg16,mem16,imm8
		/// </summary>
		public void IMUL (R16Type target, WordMemory source, Byte 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", "6B", "/r", "ib" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例3: SHR

		/// <summary>
		/// SHR rmreg16,imm8
		/// </summary>
		public void SHR (R16Type target, Byte source)
		{
			if (source == 1)
				this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHR__1", target.ToString () + ", " + "1", null, target, 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), null, target, null, new UInt32 [] { source }, new string [] { "o16", "C1", "/5", "ib" }));
			}
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:11,代碼來源:Instructions.cs

示例4: XOR

		/// <summary>
		/// XOR rmreg16,imm16
		/// </summary>
		public void XOR (R16Type target, UInt16 source)
		{
			if (target == R16.AX)
				this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XOR_AX", "AX" + ", " + string.Format ("0x{0:x}", source), null, null, null, new UInt32 [] { source }, new string [] { "o16", "35", "iw" }));
			else {
				this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XOR", target.ToString () + ", " + string.Format ("0x{0:x}", source), null, target, null, new UInt32 [] { source }, new string [] { "o16", "81", "/6", "iw" }));
			}
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:11,代碼來源:Instructions.cs

示例5: CALL

		/// <summary>
		/// CALL rmreg16
		/// </summary>
		public void CALL (R16Type target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "CALL", target.ToString (), null, target, null, null, new string [] { "o16", "FF", "/2" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例6: VERW

		/// <summary>
		/// VERW rmreg16
		/// </summary>
		public void VERW (R16Type target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "VERW", target.ToString (), null, target, null, null, new string [] { "0F", "00", "/5" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例7: XCHG

		/// <summary>
		/// XCHG reg16,rmreg16
		/// </summary>
		public void XCHG (R16Type target, R16Type source)
		{
			if (target == R16.AX)
				this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XCHG_AX", "AX" + ", " + source.ToString (), null, null, source, null, new string [] { "o16", "90+r" }));
			else if (source == R16.AX)
				this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XCHG__AX", target.ToString () + ", " + "AX", null, null, target, null, new string [] { "o16", "90+r" }));
			else {
				this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XCHG", target.ToString () + ", " + source.ToString (), null, source, target, null, new string [] { "o16", "87", "/r" }));
			}
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:13,代碼來源:Instructions.cs

示例8: MOVZX

		/// <summary>
		/// MOVZX reg16,mem8
		/// </summary>
		public void MOVZX (R16Type target, ByteMemory source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "MOVZX", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o16", "0F", "B6", "/r" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例9: BOUND

		/// <summary>
		/// BOUND reg16,mem
		/// </summary>
		public void BOUND (R16Type target, Memory source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "BOUND", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o16", "62", "/r" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例10: MOV

		/// <summary>
		/// MOV segreg,rmreg16
		/// </summary>
		public void MOV (SegType target, R16Type source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "MOV", target.ToString () + ", " + source.ToString (), null, source, target, null, new string [] { "8E", "/r" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例11: ARPL

		/// <summary>
		/// ARPL rmreg16,reg16
		/// </summary>
		public void ARPL (R16Type target, R16Type source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "ARPL", target.ToString () + ", " + source.ToString (), null, target, source, null, new string [] { "63", "/r" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例12: LMSW

		/// <summary>
		/// LMSW rmreg16
		/// </summary>
		public void LMSW (R16Type target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "LMSW", target.ToString (), null, target, null, null, new string [] { "0F", "01", "/6" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例13: SHRD___CL

		/// <summary>
		/// SHRD rmreg16,reg16,CL
		/// </summary>
		public void SHRD___CL (R16Type target, R16Type source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHRD___CL", target.ToString () + ", " + source.ToString () + ", " + "CL", null, target, source, null, new string [] { "o16", "0F", "AD", "/r" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例14: STR

		/// <summary>
		/// STR rmreg16
		/// </summary>
		public void STR (R16Type target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "STR", target.ToString (), null, target, null, null, new string [] { "o16", "0F", "00", "/1" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例15: NEG

		/// <summary>
		/// NEG rmreg16
		/// </summary>
		public void NEG (R16Type target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "NEG", target.ToString (), null, target, null, null, new string [] { "o16", "F7", "/3" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs


注:本文中的SharpOS.AOT.X86.R16Type.ToString方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。