aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Decoders/IOpCode32AluBf.cs
blob: d1fe590391d233fa1fae3601e4a521f7d32225d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace ARMeilleure.Decoders
{
    interface IOpCode32AluBf
    {
        int Rd { get; }
        int Rn { get; }

        int Msb { get; }
        int Lsb { get; }

        int SourceMask => (int)(0xFFFFFFFF >> (31 - Msb));
        int DestMask => SourceMask & (int)(0xFFFFFFFF << Lsb);
    }
}