aboutsummaryrefslogtreecommitdiff
path: root/ops/branchi/bani.c
diff options
context:
space:
mode:
Diffstat (limited to 'ops/branchi/bani.c')
-rw-r--r--ops/branchi/bani.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ops/branchi/bani.c b/ops/branchi/bani.c
new file mode 100644
index 0000000..15708eb
--- /dev/null
+++ b/ops/branchi/bani.c
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+
+#include "../common.h"
+
+DEFINE_OP(bani)
+{
+ BRANCH(IMM(), a != 0, sp, a, x, y, o);
+}