From 747081d2c79eba176cc64314acdbf5c580537e5e Mon Sep 17 00:00:00 2001 From: merry Date: Sat, 5 Mar 2022 15:20:24 +0000 Subject: [PATCH] Decoders: Fix instruction lengths for 16-bit B instructions (#3177) --- ARMeilleure/Decoders/OpCodeT16BImm11.cs | 2 +- ARMeilleure/Decoders/OpCodeT16BImm8.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ARMeilleure/Decoders/OpCodeT16BImm11.cs b/ARMeilleure/Decoders/OpCodeT16BImm11.cs index 42ebec4f..f230b20e 100644 --- a/ARMeilleure/Decoders/OpCodeT16BImm11.cs +++ b/ARMeilleure/Decoders/OpCodeT16BImm11.cs @@ -1,6 +1,6 @@ namespace ARMeilleure.Decoders { - class OpCodeT16BImm11 : OpCode32, IOpCode32BImm + class OpCodeT16BImm11 : OpCodeT16, IOpCode32BImm { public long Immediate { get; } diff --git a/ARMeilleure/Decoders/OpCodeT16BImm8.cs b/ARMeilleure/Decoders/OpCodeT16BImm8.cs index 9b3a4ad1..5f684298 100644 --- a/ARMeilleure/Decoders/OpCodeT16BImm8.cs +++ b/ARMeilleure/Decoders/OpCodeT16BImm8.cs @@ -1,6 +1,6 @@ namespace ARMeilleure.Decoders { - class OpCodeT16BImm8 : OpCode32, IOpCode32BImm + class OpCodeT16BImm8 : OpCodeT16, IOpCode32BImm { public long Immediate { get; }