aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/OpCodeMul.cs
blob: 3eb4dc97c506a78044d3ef51f639fc2e41d307e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace ARMeilleure.Decoders
{
    class OpCodeMul : OpCodeAlu
    {
        public int Rm { get; private set; }
        public int Ra { get; private set; }

        public OpCodeMul(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
        {
            Ra = (opCode >> 10) & 0x1f;
            Rm = (opCode >> 16) & 0x1f;
        }
    }
}