aboutsummaryrefslogtreecommitdiff
path: root/ops/branchi/call.c
diff options
context:
space:
mode:
Diffstat (limited to 'ops/branchi/call.c')
-rw-r--r--ops/branchi/call.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ops/branchi/call.c b/ops/branchi/call.c
new file mode 100644
index 0000000..23d88d0
--- /dev/null
+++ b/ops/branchi/call.c
@@ -0,0 +1,6 @@
+#include "../common.h"
+
+DEFINE_OP(call) {
+ x = ((op_call)IMM())(sp, a, x, y, o);
+ NEXT_OP(sp, a, x, y, o);
+}