From: Mark Wooding Date: Sun, 18 Aug 2019 01:17:13 +0000 (+0100) Subject: base/asm-common.h: Implement the `r' decorator for `MEM' accesses. X-Git-Tag: 2.5.0~14^2~17 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/3c0490d192453fad6827c29dfc21af2587772dad base/asm-common.h: Implement the `r' decorator for `MEM' accesses. I think this was an unintentional omission. --- diff --git a/base/asm-common.h b/base/asm-common.h index 7d465791..040250ba 100644 --- a/base/asm-common.h +++ b/base/asm-common.h @@ -290,11 +290,13 @@ name: # define _DECOR_abcd_r(reg) e##reg##x # define _DECOR_xp_r(reg) e##reg # define _DECOR_ip_r(reg) e##reg +# define _DECOR_mem_r(addr) dword ptr addr #endif #if CPUFAM_AMD64 # define _DECOR_abcd_r(reg) r##reg##x # define _DECOR_xp_r(reg) r##reg # define _DECOR_ip_r(reg) r##reg +# define _DECOR_mem_r(addr) qword ptr addr #endif // R_r(decor) applies decoration decor to register r, which is an internal