aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Decoders/OpCodeBImmAl.cs
blob: 6c4b28c6c6ce57b0af85f343abe40188b2bd7f32 (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);
        }
    }
}