1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:07:45 +00:00

LibX86: Support decoding basic MMX instructions like MOVQ

This commit is contained in:
Andreas Kling 2020-04-11 13:41:51 +02:00
parent e5cde0082a
commit 2ce38d4699
2 changed files with 67 additions and 1 deletions

View file

@ -124,6 +124,17 @@ enum RegisterIndex32 {
RegisterEDI
};
enum MMXRegisterIndex {
RegisterMM0 = 0,
RegisterMM1,
RegisterMM2,
RegisterMM3,
RegisterMM4,
RegisterMM5,
RegisterMM6,
RegisterMM7
};
class LogicalAddress {
public:
LogicalAddress() {}
@ -197,6 +208,7 @@ public:
String to_string_o8() const;
String to_string_o16() const;
String to_string_o32() const;
String to_string_mm() const;
bool is_register() const { return m_register_index != 0xffffffff; }
SegmentRegister segment() const