aboutsummaryrefslogtreecommitdiff
path: root/ops/add.c
diff options
context:
space:
mode:
Diffstat (limited to 'ops/add.c')
-rw-r--r--ops/add.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ops/add.c b/ops/add.c
new file mode 100644
index 0000000..164307e
--- /dev/null
+++ b/ops/add.c
@@ -0,0 +1,7 @@
+#include "common.h"
+
+DEFINE_OP(add)
+{
+ UNUSED(a);
+ NEXT_OP(sp, x + y, x, y, o);
+}