示例#1
0
        private void RewriteBsr()
        {
            this.iclass = InstrClass.Transfer | InstrClass.Call | InstrClass.Delay;
            var dst = SrcOp(instr.Operands[0], null);

            m.CallD(dst, 0);
        }
示例#2
0
        private void RewriteBsr()
        {
            rtlc = InstrClass.Transfer | InstrClass.Call | InstrClass.Delay;
            var dst = SrcOp(instr.op1, null);

            m.CallD(dst, 0);
        }
示例#3
0
        private void RewriteJal(MipsInstruction instr)
        {
            //$TODO: if we want explicit representation of the continuation of call
            // use the line below
            //emitter.Assign( frame.EnsureRegister(Registers.ra), instr.Address + 8);
            var dst = ((AddressOperand)instr.Operands[0]).Address;

            m.CallD(dst, 0);
        }
示例#4
0
 private void RewriteJal()
 {
     m.CallD(Addr(instrCur.Operands[0]), 0);
 }