当前位置: 首页>>代码示例>>C#>>正文


C# R32Type.ToString方法代码示例

本文整理汇总了C#中SharpOS.AOT.X86.R32Type.ToString方法的典型用法代码示例。如果您正苦于以下问题:C# R32Type.ToString方法的具体用法?C# R32Type.ToString怎么用?C# R32Type.ToString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在SharpOS.AOT.X86.R32Type的用法示例。


在下文中一共展示了R32Type.ToString方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: SHRD___CL

		/// <summary>
		/// SHRD rmreg32,reg32,CL
		/// </summary>
		public void SHRD___CL (R32Type target, R32Type source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SHRD___CL", target.ToString () + ", " + source.ToString () + ", " + "CL", null, target, source, null, new string [] { "o32", "0F", "AD", "/r" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例2: SHR

		/// <summary>
		/// SHR rmreg32,imm8
		/// </summary>
		public void SHR (R32Type 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 [] { "o32", "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 [] { "o32", "C1", "/5", "ib" }));
			}
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:11,代码来源:Instructions.cs

示例3: SHRD

		/// <summary>
		/// SHRD rmreg32,reg32,imm8
		/// </summary>
		public void SHRD (R32Type 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), null, target, source, new UInt32 [] { value }, new string [] { "o32", "0F", "AC", "/r", "ib" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例4: BTS

		/// <summary>
		/// BTS rmreg32,imm8
		/// </summary>
		public void BTS (R32Type target, Byte source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "BTS", target.ToString () + ", " + string.Format ("0x{0:x}", source), null, target, null, new UInt32 [] { source }, new string [] { "o32", "0F", "BA", "/5", "ib" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例5: IMUL

		/// <summary>
		/// IMUL reg32,mem32,imm8
		/// </summary>
		public void IMUL (R32Type target, DWordMemory 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 [] { "o32", "6B", "/r", "ib" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例6: XCHG

		/// <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" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例7: XOR

		/// <summary>
		/// XOR rmreg32,reg32
		/// </summary>
		public void XOR (R32Type target, R32Type source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "XOR", target.ToString () + ", " + source.ToString (), null, target, source, null, new string [] { "o32", "31", "/r" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例8: BOUND

		/// <summary>
		/// BOUND reg32,mem
		/// </summary>
		public void BOUND (R32Type target, Memory source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "BOUND", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o32", "62", "/r" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例9: NEG

		/// <summary>
		/// NEG rmreg32
		/// </summary>
		public void NEG (R32Type target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "NEG", target.ToString (), null, target, null, null, new string [] { "o32", "F7", "/3" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例10: MOV

		/// <summary>
		/// MOV segreg,rmreg32
		/// </summary>
		public void MOV (SegType target, R32Type source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "MOV", target.ToString () + ", " + source.ToString (), null, source, target, null, new string [] { "o32", "8E", "/r" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例11: MOVZX

		/// <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" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例12: SUB

		/// <summary>
		/// SUB reg32,mem32
		/// </summary>
		public void SUB (R32Type target, DWordMemory source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "SUB", target.ToString () + ", " + source.ToString (), source, null, target, null, new string [] { "o32", "2B", "/r" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例13: BSF

		/// <summary>
		/// BSF reg32,rmreg32
		/// </summary>
		public void BSF (R32Type target, R32Type source)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "BSF", target.ToString () + ", " + source.ToString (), null, source, target, null, new string [] { "o32", "0F", "BC", "/r" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例14: PUSH

		/// <summary>
		/// PUSH reg32
		/// </summary>
		public void PUSH (R32Type target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "PUSH", target.ToString (), null, null, target, null, new string [] { "o32", "50+r" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs

示例15: BSWAP

		/// <summary>
		/// BSWAP reg32
		/// </summary>
		public void BSWAP (R32Type target)
		{
			this.instructions.Add (new Instruction (true, string.Empty, string.Empty, "BSWAP", target.ToString (), null, null, target, null, new string [] { "o32", "0F", "C8+r" }));
		}
开发者ID:sharpos,项目名称:SharpOS,代码行数:7,代码来源:Instructions.cs


注:本文中的SharpOS.AOT.X86.R32Type.ToString方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。