aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/OpCodeBImmAl.cs
blob: 47ae5f562710a53af5ab76a5512394439b4c9980 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
namespace ARMeilleure.Decoders
{
    class OpCodeBImmAl : OpCodeBImm
    {
        public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeBImmAl(inst, address, opCode);

        public OpCodeBImmAl(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
        {
            Immediate = (long)address + DecoderHelper.DecodeImm26_2(opCode);
        }
    }
}