aboutsummaryrefslogtreecommitdiff
path: root/ops/sr/srx22.c
diff options
context:
space:
mode:
Diffstat (limited to 'ops/sr/srx22.c')
-rw-r--r--ops/sr/srx22.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ops/sr/srx22.c b/ops/sr/srx22.c
new file mode 100644
index 0000000..331a2d5
--- /dev/null
+++ b/ops/sr/srx22.c
@@ -0,0 +1,4 @@
+#include "../common.h"
+DEFINE_OP(srx22) {
+ NEXT_OP(sp, a, (sreg_t)x >> 22, y, o);
+}