aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorAndrew Chambers <[email protected]>2021-10-19 16:15:49 +1300
committerAndrew Chambers <[email protected]>2021-10-19 16:15:49 +1300
commit221b83997a22fc2abc2282d90763e0435943021c (patch)
tree7e89cee98dad066e3d0de4204e21adead95c4dde /parse.c
parent375efafb6aeb486ff2b079e8464d4b746ba4f213 (diff)
Remove special case for call.
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) \
{ \