diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2022-09-10 22:51:00 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-10 22:51:00 -0300 |
| commit | f468db76028086a6645856383fecdf8180b04dd1 (patch) | |
| tree | cb296f05888eae9fa04d386391525d37e9031192 /ARMeilleure/Decoders/IOpCode32AluBf.cs | |
| parent | c5f1d1749aeb4a1fff8f7552b949f652eaefe52a (diff) | |
Implement Thumb (32-bit) memory (ordered), multiply, extension and bitfield instructions (#3687)
* Implement Thumb (32-bit) memory (ordered), multiply and bitfield instructions
* Remove public from interface
* Fix T32 BL immediate and implement signed and unsigned extend instructions
Diffstat (limited to 'ARMeilleure/Decoders/IOpCode32AluBf.cs')
| -rw-r--r-- | ARMeilleure/Decoders/IOpCode32AluBf.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ARMeilleure/Decoders/IOpCode32AluBf.cs b/ARMeilleure/Decoders/IOpCode32AluBf.cs index 18de3eb6..206c2965 100644 --- a/ARMeilleure/Decoders/IOpCode32AluBf.cs +++ b/ARMeilleure/Decoders/IOpCode32AluBf.cs @@ -7,5 +7,8 @@ int Msb { get; } int Lsb { get; } + + int SourceMask => (int)(0xFFFFFFFF >> (31 - Msb)); + int DestMask => SourceMask & (int)(0xFFFFFFFF << Lsb); } } |
