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


C# ByteMemory.ToString方法代碼示例

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


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

示例1: XOR

		/// <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" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例2: ADC

		/// <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" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例3: SHR

		/// <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" }));
			}
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:11,代碼來源:Instructions.cs

示例4: SHR__CL

		/// <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" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例5: SETZ

		/// <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" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例6: NOT

		/// <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" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例7: MOVZX

		/// <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" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs

示例8: INC

		/// <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" }));
		}
開發者ID:sharpos,項目名稱:SharpOS,代碼行數:7,代碼來源:Instructions.cs


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