BSD 4_1c_2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 24 Dec 1982 09:25:33 +0000 (01:25 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 24 Dec 1982 09:25:33 +0000 (01:25 -0800)
Work on file usr/src/usr.bin/f77/machdefs

Synthesized-from: CSRG/cd1/4.1c.2

usr/src/usr.bin/f77/machdefs [new file with mode: 0644]

diff --git a/usr/src/usr.bin/f77/machdefs b/usr/src/usr.bin/f77/machdefs
new file mode 100644 (file)
index 0000000..9280228
--- /dev/null
@@ -0,0 +1,56 @@
+#ifndef TARGET
+TARGET NOT DEFINED !!!
+#endif
+#if TARGET!=VAX
+Target= TARGET OUT OF RANGE!!
+#endif
+
+#ifndef FAMILY
+FAMILY NOT DEFINED!!!
+#endif
+#if FAMILY!=PCC && FAMILY!=DMR
+Family = FAMILY OUT OF RANGE
+#endif
+
+#define SDB 1
+
+#define TYLENG TYLONG
+
+#define TYINT  TYLONG
+#define SZADDR 4
+#define SZSHORT        2
+#define SZINT  4
+
+#define SZLONG 4
+#define SZLENG SZLONG
+
+#define ALIADDR SZADDR
+#define ALISHORT SZSHORT
+#define ALILONG 4
+#define ALIDOUBLE 4
+#define ALIINT ALILONG
+#define ALILENG        ALILONG
+
+#define AUTOREG 13
+#define ARGREG 12
+#define CARGREG 12
+#define ARGOFFSET 4
+#define SAVESPACE 40
+
+
+#define FUDGEOFFSET 1
+#define BITSPERCHAR 8
+#define XL 8
+
+#define USETEXT        ".text"
+#define USECONST       ".data\t0"
+#define USEBSS ".data\t1"
+#define USEINIT        ".data\t2"
+
+#define BLANKCOMMON "_BLNK_"
+
+#define LABELFMT "%s:\n"
+
+#define MAXREGVAR 4
+#define TYIREG TYLONG
+#define MSKIREG  (M(TYSHORT)|M(TYLONG))