Skip to content

Commit

Permalink
x86_64-asm.h: support callq for better compat
Browse files Browse the repository at this point in the history
It has the same effect as call.

Co-authored-by: Yao Zi <[email protected]>
Signed-off-by: Yao Zi <[email protected]>
Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull and ziyao233 committed Oct 27, 2024
1 parent 50cfe11 commit 6acf301
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x86_64-asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ ALT(DEF_ASM_OP2(shrdw, 0x0fad, 0, OPC_MODRM | OPC_WLX, OPT_REGW, OPT_EA | OPT_RE

ALT(DEF_ASM_OP1(call, 0xff, 2, OPC_MODRM, OPT_INDIR))
ALT(DEF_ASM_OP1(call, 0xe8, 0, 0, OPT_DISP))
DEF_ASM_OP1(callq, 0xff, 2, OPC_MODRM, OPT_INDIR)
ALT(DEF_ASM_OP1(callq, 0xe8, 0, 0, OPT_DISP))
ALT(DEF_ASM_OP1(jmp, 0xff, 4, OPC_MODRM, OPT_INDIR))
ALT(DEF_ASM_OP1(jmp, 0xeb, 0, 0, OPT_DISP8))

Expand Down

0 comments on commit 6acf301

Please sign in to comment.