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); } }