From 2047f88334f3547b2579e368448ec6c81fd02a83 Mon Sep 17 00:00:00 2001 From: Joe Soroka Date: Fri, 21 Jan 2011 01:35:28 -0800 Subject: i386-asm: accept retl as a synonym for ret --- i386-asm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'i386-asm.h') diff --git a/i386-asm.h b/i386-asm.h index 1b72633..94df608 100644 --- a/i386-asm.h +++ b/i386-asm.h @@ -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_OP0(leave, 0xc9) 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)) DEF_ASM_OP0(lret, 0xcb) ALT(DEF_ASM_OP1(lret, 0xca, 0, 0, OPT_IM16)) -- cgit v1.3.1