public EtraxRewriter(EtraxArchitecture 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 EtraxDisassembler(arch, rdr).GetEnumerator(); this.instrs = new List <RtlInstruction>(); this.m = new RtlEmitter(instrs); instr = default !;
protected override void DoRender(MachineInstructionRenderer renderer, MachineInstructionRendererOptions options) { renderer.WriteFormat("{0}:{1}", Register.Name, EtraxInstruction.SizeFormat(Scale)); }