private void AssertSignature(string sExp, DataType dtRet, params DataType[] args)
        {
            var arch = new XtensaArchitecture(new ServiceContainer(), "xtensa", new Dictionary <string, object>());
            var cc   = new XtensaCallingConvention(arch);
            var ccr  = new CallingConventionEmitter();

            cc.Generate(ccr, dtRet, null, args.ToList());
            Assert.AreEqual(sExp.Trim(), ccr.ToString());
        }
예제 #2
0
 public XtensaDisassemblerTests()
 {
     this.arch = new XtensaArchitecture(new ServiceContainer(), "xtensa");
 }
예제 #3
0
 public XtensaDisassemblerTests()
 {
     this.arch = new XtensaArchitecture();
 }
예제 #4
0
 public XtensaDisassemblerTests()
 {
     this.arch = new XtensaArchitecture(new ServiceContainer(), "xtensa", new Dictionary <string, object>());
 }