mirror of
https://github.com/frida/tinycc
synced 2024-11-25 00:59:37 +03:00
i386-asm: accept retl as a synonym for ret
This commit is contained in:
parent
f43fafc680
commit
2047f88334
@ -220,6 +220,8 @@ ALT(DEF_ASM_OP1(seto, 0x0f90, 0, OPC_MODRM | OPC_TEST, OPT_REG8 | OPT_EA))
|
|||||||
DEF_ASM_OP2(enter, 0xc8, 0, 0, OPT_IM16, OPT_IM8)
|
DEF_ASM_OP2(enter, 0xc8, 0, 0, OPT_IM16, OPT_IM8)
|
||||||
DEF_ASM_OP0(leave, 0xc9)
|
DEF_ASM_OP0(leave, 0xc9)
|
||||||
DEF_ASM_OP0(ret, 0xc3)
|
DEF_ASM_OP0(ret, 0xc3)
|
||||||
|
DEF_ASM_OP0(retl,0xc3)
|
||||||
|
ALT(DEF_ASM_OP1(retl,0xc2, 0, 0, OPT_IM16))
|
||||||
ALT(DEF_ASM_OP1(ret, 0xc2, 0, 0, OPT_IM16))
|
ALT(DEF_ASM_OP1(ret, 0xc2, 0, 0, OPT_IM16))
|
||||||
DEF_ASM_OP0(lret, 0xcb)
|
DEF_ASM_OP0(lret, 0xcb)
|
||||||
ALT(DEF_ASM_OP1(lret, 0xca, 0, 0, OPT_IM16))
|
ALT(DEF_ASM_OP1(lret, 0xca, 0, 0, OPT_IM16))
|
||||||
|
@ -210,8 +210,10 @@ jmp *0x1000
|
|||||||
ljmp $0x100, $0x1000
|
ljmp $0x100, $0x1000
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
retl
|
||||||
|
|
||||||
ret $10
|
ret $10
|
||||||
|
retl $10
|
||||||
|
|
||||||
lret
|
lret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user