aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index 3137447..da01509 100644
--- a/parse.c
+++ b/parse.c
@@ -168,6 +168,16 @@ needsmovabs(Imm* imm)
} \
}
+#define RELCALL(REX, PREFIX, OPCODE, A1) \
+ (Parsev) \
+ { \
+ .instr = (Instr) \
+ { \
+ .kind = ASM_INSTR, .encoder = ENCODER_RELCALL, .prefix = PREFIX, \
+ .opcode = OPCODE, .rex = (Rex)REX, .arg1 = internparsev(&A1), \
+ } \
+ }
+
#define IMMREG(REX, PREFIX, OPCODE, IMMREG, A1, A2) \
(Parsev) \
{ \