Add support for endbr32/endbr64 (#156)

This commit is contained in:
jca 2024-02-27 00:34:08 +01:00 committed by Peter Johnson
parent e2c133fe29
commit b9c3fe6399

View file

@ -691,6 +691,14 @@ add_group("threebyte",
opcode=[0x00, 0x00, 0x00],
operands=[])
#
# Four byte opcode instructions with no operands
#
add_group("fourbyte",
modifiers=["Op0Add", "Op1Add", "Op2Add", "Op3Add"],
opcode=[0x00, 0x00, 0x00, 0x00],
operands=[])
#
# One byte opcode instructions with general memory operand
#
@ -5475,6 +5483,9 @@ add_group("vmxthreebytemem",
add_insn("vmclear", "vmxthreebytemem", modifiers=[0x66])
add_insn("vmxon", "vmxthreebytemem", modifiers=[0xF3])
add_insn("endbr32", "fourbyte", modifiers=[0xF3, 0x0F, 0x1E, 0xFB])
add_insn("endbr64", "fourbyte", modifiers=[0xF3, 0x0F, 0x1E, 0xFA])
#####################################################################
# Intel SMX Instructions
#####################################################################