aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/IOpCode32AluBf.cs
blob: 206c2965e6b19429b25871fd13b14d941b4de8e2 (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);
    }
}