summaryrefslogtreecommitdiff
path: root/newlib/libc/machine/z8k/args.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/z8k/args.h')
-rw-r--r--newlib/libc/machine/z8k/args.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/newlib/libc/machine/z8k/args.h b/newlib/libc/machine/z8k/args.h
new file mode 100644
index 00000000000..3f606248317
--- /dev/null
+++ b/newlib/libc/machine/z8k/args.h
@@ -0,0 +1,13 @@
+#ifdef __Z8001__
+
+segm
+#define PARG_0 rr6
+#else
+unsegm
+#define PARG_0 r7
+#endif
+
+#define LARG_0 rr6
+#define ARG_0 r7
+
+#define LARG_1 rr4