mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:57:47 +00:00
LibX86: Add OP_regW_immW
This is a variation of OP_reg32_imm32 that turns into "OP_reg64_imm64" with a REX.W prefix.
This commit is contained in:
parent
bf768ed215
commit
4041ea835c
2 changed files with 25 additions and 7 deletions
|
@ -160,6 +160,7 @@ enum InstructionFormat {
|
|||
__EndFormatsWithRMByte,
|
||||
|
||||
OP_reg32_imm32,
|
||||
OP_regW_immW,
|
||||
OP_AL_imm8,
|
||||
OP_AX_imm16,
|
||||
OP_EAX_imm32,
|
||||
|
@ -210,6 +211,7 @@ enum InstructionFormat {
|
|||
};
|
||||
|
||||
static constexpr unsigned CurrentAddressSize = 0xB33FBABE;
|
||||
static constexpr unsigned CurrentOperandSize = 0xB33FB00F;
|
||||
|
||||
struct InstructionDescriptor {
|
||||
InstructionHandler handler { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue