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


C# MachineInstruction类代码示例

本文整理汇总了C#中MachineInstruction的典型用法代码示例。如果您正苦于以下问题:C# MachineInstruction类的具体用法?C# MachineInstruction怎么用?C# MachineInstruction使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: BuildBytes

 private string BuildBytes(MachineInstruction instr)
 {
     var sb = new StringBuilder();
     var rdr = program.CreateImageReader(instr.Address);
     for (int i = 0; i < instr.Length; ++i)
     {
         sb.AppendFormat("{0:X2} ", rdr.ReadByte());
     }
     return sb.ToString();
 }
开发者ID:killbug2004,项目名称:reko,代码行数:10,代码来源:DisassemblyTextModel.cs

示例2: C_seq_d

 public C_seq_d(MachineInstruction machineInstruction)
     : base("c_seq_d", machineInstruction)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例3: Xor

 public Xor(MachineInstruction machineInstruction)
     : base("xor", machineInstruction, Flag.IntegerComputation, FunctionalUnit.Types.IntALU)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例4: Unimplemented

 public Unimplemented(string mnemonic, MachineInstruction machineInstruction)
     : base(mnemonic, machineInstruction, Flag.None, FunctionalUnit.Types.None)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例5: Swr

 public Swr(MachineInstruction machineInstruction)
     : base("swr", machineInstruction, Flag.Memory | Flag.Store | Flag.DisplacedAddressing, FunctionalUnit.Types.WritePort)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例6: Subu

 public Subu(MachineInstruction machineInstruction)
     : base("subu", machineInstruction, Flag.IntegerComputation, FunctionalUnit.Types.IntALU)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例7: Nop

 public Nop(MachineInstruction machineInstruction)
     : base("nop", machineInstruction, Flag.None, FunctionalUnit.Types.None)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例8: Mul_s

 public Mul_s(MachineInstruction machineInstruction)
     : base("mul_s", machineInstruction, Flag.FloatComputation, FunctionalUnit.Types.FloatMultiply)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例9: IntImmOp

        public IntImmOp(string mnemonic, MachineInstruction machineInstruction, Flag flags, FunctionalUnit.Types fuType)
            : base(mnemonic, machineInstruction, flags, fuType)
        {
            this.Imm = (short)machineInstruction[BitField.INTIMM];

            this.ZextImm = 0x0000FFFF & machineInstruction[BitField.INTIMM];

            this.SextImm = BitHelper.Sext (machineInstruction[BitField.INTIMM], 16);
        }
开发者ID:mcai,项目名称:FleximSharp,代码行数:9,代码来源:Instructions.cs

示例10: FloatConvertOp

 public FloatConvertOp(string mnemonic, MachineInstruction machineInstruction)
     : base(mnemonic, machineInstruction, Flag.FloatComputation, FunctionalUnit.Types.FloatConvert)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例11: FailUnimplemented

 public FailUnimplemented(string mnemonic, MachineInstruction machineInstruction)
     : base(mnemonic, machineInstruction)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例12: Div_s

 public Div_s(MachineInstruction machineInstruction)
     : base("div_s", machineInstruction, Flag.FloatComputation, FunctionalUnit.Types.FloatDivide)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例13: Divu

 public Divu(MachineInstruction machineInstruction)
     : base("divu", machineInstruction, Flag.IntegerComputation, FunctionalUnit.Types.IntDivide)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例14: C_un_s

 public C_un_s(MachineInstruction machineInstruction)
     : base("c_un_s", machineInstruction)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs

示例15: C_ult_d

 public C_ult_d(MachineInstruction machineInstruction)
     : base("c_ult_d", machineInstruction)
 {
 }
开发者ID:mcai,项目名称:FleximSharp,代码行数:4,代码来源:Instructions.cs


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