Fix some assignment alignments, remove some unused usings

This commit is contained in:
gdkchan 2018-11-30 11:45:11 -03:00
commit f162e30958
14 changed files with 18 additions and 25 deletions

View file

@ -1,5 +1,4 @@
using ChocolArm64.Instructions; using ChocolArm64.Instructions;
using ChocolArm64.State;
namespace ChocolArm64.Decoders namespace ChocolArm64.Decoders
{ {

View file

@ -1,5 +1,4 @@
using ChocolArm64.Instructions; using ChocolArm64.Instructions;
using ChocolArm64.State;
namespace ChocolArm64.Decoders namespace ChocolArm64.Decoders
{ {

View file

@ -41,7 +41,7 @@ namespace ChocolArm64.Decoders
if (WBack || Unscaled) if (WBack || Unscaled)
{ {
//9-bits Signed Immediate. //9-bits Signed Immediate.
Imm = (opCode << 43) >> 55; Imm = (opCode << 11) >> 23;
} }
else else
{ {

View file

@ -1,5 +1,4 @@
using ChocolArm64.Instructions; using ChocolArm64.Instructions;
using ChocolArm64.State;
namespace ChocolArm64.Decoders namespace ChocolArm64.Decoders
{ {

View file

@ -1,5 +1,4 @@
using ChocolArm64.Instructions; using ChocolArm64.Instructions;
using ChocolArm64.State;
namespace ChocolArm64.Decoders namespace ChocolArm64.Decoders
{ {

View file

@ -1,5 +1,4 @@
using ChocolArm64.Instructions; using ChocolArm64.Instructions;
using ChocolArm64.State;
namespace ChocolArm64.Decoders namespace ChocolArm64.Decoders
{ {

View file

@ -1,5 +1,4 @@
using ChocolArm64.Instructions; using ChocolArm64.Instructions;
using ChocolArm64.State;
namespace ChocolArm64.Decoders namespace ChocolArm64.Decoders
{ {

View file

@ -1,5 +1,4 @@
using ChocolArm64.Instructions; using ChocolArm64.Instructions;
using ChocolArm64.State;
namespace ChocolArm64.Decoders namespace ChocolArm64.Decoders
{ {

View file

@ -2,9 +2,9 @@ namespace ChocolArm64.Decoders
{ {
enum ShiftType enum ShiftType
{ {
Lsl, Lsl = 0,
Lsr, Lsr = 1,
Asr, Asr = 2,
Ror Ror = 3
} }
} }