Move solution and projects to src
This commit is contained in:
16
src/ARMeilleure/Decoders/OpCodeMul.cs
Normal file
16
src/ARMeilleure/Decoders/OpCodeMul.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace ARMeilleure.Decoders
|
||||
{
|
||||
class OpCodeMul : OpCodeAlu
|
||||
{
|
||||
public int Rm { get; }
|
||||
public int Ra { get; }
|
||||
|
||||
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeMul(inst, address, opCode);
|
||||
|
||||
public OpCodeMul(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
||||
{
|
||||
Ra = (opCode >> 10) & 0x1f;
|
||||
Rm = (opCode >> 16) & 0x1f;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user