public override int GetValue()
        {
            rot = Memory.ExtractBits(OperBits, 20, 23) * 2;
            num = Memory.ExtractBits(OperBits, 24, 31);

            return((int)BarrelShift.Compute(0x11, num, rot));
        }
Пример #2
0
        public override int GetValue()
        {
            reg   = Memory.ExtractBits(OffBits, 28, 31);
            shift = Memory.ExtractBits(OffBits, 25, 26);
            imm   = Memory.ExtractBits(OffBits, 20, 24);

            return((int)BarrelShift.Compute(shift, (uint)CPU.GetRegr(Offset_Regs, (int)reg), imm));
        }
        public override int GetValue()
        {
            reg   = (int)Memory.ExtractBits(OperBits, 28, 31);
            shift = Memory.ExtractBits(OperBits, 25, 26);
            reg2  = (int)Memory.ExtractBits(OperBits, 20, 23);

            return((int)BarrelShift.Compute(shift, (uint)CPU.GetRegr(Oper2Regs, reg), (uint)CPU.GetRegr(Oper2Regs, reg2)));
        }