コード例 #1
0
        // Decodes a Fetch instruction from three uints.
        // (the uints must have endianness swapped so when ToString("X8") is used, they appear in
        // same order as raw hex)
        public static FetchInstruction DecodeFetch(uint dword0, uint dword1, uint dword2)
        {
            var fetch = new FetchInstruction();

            decodeFetch(dword0, dword1, dword2, ref fetch);
            return(fetch);
        }
コード例 #2
0
 private static extern void decodeFetch(uint dword0, uint dword1, uint dword2, ref FetchInstruction fi);
コード例 #3
0
ファイル: Instruction.cs プロジェクト: jaron780/TagTool
 public Instruction(ControlFlowInstruction[] cf_instrs, ALUInstruction alu_instr, FetchInstruction fetch_instr)
 {
     this.cf_instrs   = cf_instrs;
     this.alu_instr   = alu_instr;
     this.fetch_instr = fetch_instr;
 }
コード例 #4
0
 public static void Apply(ref FetchInstruction instruction)
 {
 }