예제 #1
0
 public ARCompactRewriter(ARCompactArchitecture arch, EndianImageReader rdr, ProcessorState state, IStorageBinder binder, IRewriterHost host)
 {
     this.arch   = arch;
     this.rdr    = rdr;
     this.state  = state;
     this.binder = binder;
     this.host   = host;
     this.dasm   = new ArcDisassembler(arch, rdr).GetEnumerator();
 }
예제 #2
0
 public ARCompactState(ARCompactArchitecture arch, Dictionary <RegisterStorage, Constant> values = null)
 {
     this.arch   = arch;
     this.values = values ?? new Dictionary <RegisterStorage, Constant>();
 }