aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Decoders/OpCodeMul64.cs
blob: 176b7b93b524e7a76ad514673a774566956015ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using ChocolArm64.Instructions;

namespace ChocolArm64.Decoders
{
    class OpCodeMul64 : OpCodeAlu64
    {
        public int Rm { get; private set; }
        public int Ra { get; private set; }

        public OpCodeMul64(Inst inst, long position, int opCode) : base(inst, position, opCode)
        {
            Ra = (opCode >> 10) & 0x1f;
            Rm = (opCode >> 16) & 0x1f;
        }
    }
}