mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-14 17:00:17 +00:00
T16: Implement BX
This commit is contained in:
parent
d4fe1ee5a8
commit
cb4ccec421
2 changed files with 15 additions and 0 deletions
14
ARMeilleure/Decoders/OpCodeT16BReg.cs
Normal file
14
ARMeilleure/Decoders/OpCodeT16BReg.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
namespace ARMeilleure.Decoders
|
||||
{
|
||||
class OpCodeT16BReg : OpCodeT16, IOpCode32BReg
|
||||
{
|
||||
public int Rm { get; }
|
||||
|
||||
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode, bool inITBlock) => new OpCodeT16BReg(inst, address, opCode, inITBlock);
|
||||
|
||||
public OpCodeT16BReg(InstDescriptor inst, ulong address, int opCode, bool inITBlock) : base(inst, address, opCode, inITBlock)
|
||||
{
|
||||
Rm = (opCode >> 3) & 0xf;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -974,6 +974,7 @@ namespace ARMeilleure.Decoders
|
|||
|
||||
#region "OpCode Table (AArch32, T16/T32)"
|
||||
// T16
|
||||
SetT16("010001110xxxx000", InstName.Bx, InstEmit32.Bx, OpCodeT16BReg.Create);
|
||||
#endregion
|
||||
|
||||
FillFastLookupTable(InstA32FastLookup, AllInstA32, ToFastLookupIndexA);
|
||||
|
|
Loading…
Reference in a new issue