public RegExtshiftAmount(Reg reg = default, ExtShift extShift = default, byte amount = default, bool show_zero = default)
 {
     this.reg       = reg;
     this.extShift  = extShift;
     this.amount    = amount;
     this.show_zero = show_zero;
 }
Beispiel #2
0
        public static @string String(this ExtShift extShift)
        {

            if (extShift == uxtb) 
                return "UXTB";
            else if (extShift == uxth) 
                return "UXTH";
            else if (extShift == uxtw) 
                return "UXTW";
            else if (extShift == uxtx) 
                return "UXTX";
            else if (extShift == sxtb) 
                return "SXTB";
            else if (extShift == sxth) 
                return "SXTH";
            else if (extShift == sxtw) 
                return "SXTW";
            else if (extShift == sxtx) 
                return "SXTX";
            else if (extShift == lsl) 
                return "LSL";
            else if (extShift == lsr) 
                return "LSR";
            else if (extShift == asr) 
                return "ASR";
            else if (extShift == ror) 
                return "ROR";
                        return "";

        }
Beispiel #3
0
 public MemExtend(RegSP Base = default, Reg Index = default, ExtShift Extend = default, byte Amount = default, bool ShiftMustBeZero = default)
 {
     this.Base            = Base;
     this.Index           = Index;
     this.Extend          = Extend;
     this.Amount          = Amount;
     this.ShiftMustBeZero = ShiftMustBeZero;
 }