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:
parent
e5cde0082a
commit
2ce38d4699
2 changed files with 67 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue