// 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); }
private static extern void decodeFetch(uint dword0, uint dword1, uint dword2, ref FetchInstruction fi);
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; }
public static void Apply(ref FetchInstruction instruction) { }