T32: Implement ALU (shifted register) instructions (#3135)
* T32: Implement ADC, ADD, AND, BIC, CMN, CMP, EOR, MOV, MVN, ORN, ORR, RSB, SBC, SUB, TEQ, TST (shifted register)
* OpCodeTable: Sort T32 list
* Tests: Rename RandomTestCase to PrecomputedThumbTestCase
* T32: Tests for AluRsImm instructions
* fix nit
* fix nit 2
2022-02-22 22:11:28 +00:00
|
|
|
|
namespace ARMeilleure.Decoders
|
|
|
|
|
{
|
|
|
|
|
class OpCodeT32 : OpCode32
|
|
|
|
|
{
|
|
|
|
|
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeT32(inst, address, opCode);
|
|
|
|
|
|
|
|
|
|
public OpCodeT32(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
|
|
|
|
{
|
|
|
|
|
Cond = Condition.Al;
|
|
|
|
|
|
2022-09-11 03:03:14 +01:00
|
|
|
|
IsThumb = true;
|
T32: Implement ALU (shifted register) instructions (#3135)
* T32: Implement ADC, ADD, AND, BIC, CMN, CMP, EOR, MOV, MVN, ORN, ORR, RSB, SBC, SUB, TEQ, TST (shifted register)
* OpCodeTable: Sort T32 list
* Tests: Rename RandomTestCase to PrecomputedThumbTestCase
* T32: Tests for AluRsImm instructions
* fix nit
* fix nit 2
2022-02-22 22:11:28 +00:00
|
|
|
|
OpCodeSizeInBytes = 4;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|