aboutsummaryrefslogtreecommitdiff
path: root/ops/sr/srx24.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-06-24 20:48:32 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-06-24 22:10:50 +0300
commit422b6c976e28445d2a6e14586fa416b0f16c093f (patch)
treea6bf3364cec45ed0c5d48e346a76a98fe9d0094a /ops/sr/srx24.c
downloadcopyjit-422b6c976e28445d2a6e14586fa416b0f16c093f.tar.gz
copyjit-422b6c976e28445d2a6e14586fa416b0f16c093f.zip
initial commit
Diffstat (limited to 'ops/sr/srx24.c')
-rw-r--r--ops/sr/srx24.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ops/sr/srx24.c b/ops/sr/srx24.c
new file mode 100644
index 0000000..3ab047a
--- /dev/null
+++ b/ops/sr/srx24.c
@@ -0,0 +1,4 @@
+#include "../common.h"
+DEFINE_OP(srx24) {
+ NEXT_OP(sp, a, (sreg_t)x >> 24, y, o);
+}