T16: Implement NOP

This commit is contained in:
merry 2022-02-11 21:12:45 +00:00
parent 41eab68113
commit 108a6886f9
2 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,8 @@ namespace ARMeilleure.Decoders
{
class OpCodeT16 : OpCode32
{
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode, bool inITBlock) => new OpCodeT16(inst, address, opCode, inITBlock);
public OpCodeT16(InstDescriptor inst, ulong address, int opCode, bool inITBlock) : base(inst, address, opCode, inITBlock)
{
Cond = Condition.Al;

View file

@ -1036,6 +1036,7 @@ namespace ARMeilleure.Decoders
SetT16("1011101011xxxxxx", InstName.Revsh, InstEmit32.Revsh, OpCodeT16AluRegLow.Create);
SetT16("101110x1xxxxxxxx", InstName.Cbnz, InstEmit32.Cbnz, OpCodeT16BImmCmp.Create);
SetT16("1011110xxxxxxxxx", InstName.Pop, InstEmit32.Ldm, OpCodeT16MemStack.Create);
SetT16("10111111xxxx0000", InstName.Nop, InstEmit32.Nop, OpCodeT16.Create);
#endregion
FillFastLookupTable(InstA32FastLookup, AllInstA32, ToFastLookupIndexA);