本文整理汇总了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();
}
示例2: C_seq_d
public C_seq_d(MachineInstruction machineInstruction)
: base("c_seq_d", machineInstruction)
{
}
示例3: Xor
public Xor(MachineInstruction machineInstruction)
: base("xor", machineInstruction, Flag.IntegerComputation, FunctionalUnit.Types.IntALU)
{
}
示例4: Unimplemented
public Unimplemented(string mnemonic, MachineInstruction machineInstruction)
: base(mnemonic, machineInstruction, Flag.None, FunctionalUnit.Types.None)
{
}
示例5: Swr
public Swr(MachineInstruction machineInstruction)
: base("swr", machineInstruction, Flag.Memory | Flag.Store | Flag.DisplacedAddressing, FunctionalUnit.Types.WritePort)
{
}
示例6: Subu
public Subu(MachineInstruction machineInstruction)
: base("subu", machineInstruction, Flag.IntegerComputation, FunctionalUnit.Types.IntALU)
{
}
示例7: Nop
public Nop(MachineInstruction machineInstruction)
: base("nop", machineInstruction, Flag.None, FunctionalUnit.Types.None)
{
}
示例8: Mul_s
public Mul_s(MachineInstruction machineInstruction)
: base("mul_s", machineInstruction, Flag.FloatComputation, FunctionalUnit.Types.FloatMultiply)
{
}
示例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);
}
示例10: FloatConvertOp
public FloatConvertOp(string mnemonic, MachineInstruction machineInstruction)
: base(mnemonic, machineInstruction, Flag.FloatComputation, FunctionalUnit.Types.FloatConvert)
{
}
示例11: FailUnimplemented
public FailUnimplemented(string mnemonic, MachineInstruction machineInstruction)
: base(mnemonic, machineInstruction)
{
}
示例12: Div_s
public Div_s(MachineInstruction machineInstruction)
: base("div_s", machineInstruction, Flag.FloatComputation, FunctionalUnit.Types.FloatDivide)
{
}
示例13: Divu
public Divu(MachineInstruction machineInstruction)
: base("divu", machineInstruction, Flag.IntegerComputation, FunctionalUnit.Types.IntDivide)
{
}
示例14: C_un_s
public C_un_s(MachineInstruction machineInstruction)
: base("c_un_s", machineInstruction)
{
}
示例15: C_ult_d
public C_ult_d(MachineInstruction machineInstruction)
: base("c_ult_d", machineInstruction)
{
}