aboutsummaryrefslogtreecommitdiff
path: root/sys/osb/miiupk8.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/osb/miiupk8.x')
-rw-r--r--sys/osb/miiupk8.x15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/osb/miiupk8.x b/sys/osb/miiupk8.x
new file mode 100644
index 00000000..34a3a378
--- /dev/null
+++ b/sys/osb/miiupk8.x
@@ -0,0 +1,15 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# MIIUPK8 -- Unpack an 8 bit unsigned MII array into an SPP array of the
+# indicated datatype.
+
+procedure miiupk8 (mii, spp, nelems, spp_datatype)
+
+int mii[ARB] #I input MII format array
+int spp[ARB] #O output SPP format array
+int nelems #I number of integers to be converted
+int spp_datatype #I SPP datatype code
+
+begin
+ call achtb (mii, spp, nelems, spp_datatype)
+end