Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utcsrgv.UUCP Path: utzoo!utcsrgv!dave From: dave@utcsrgv.UUCP (Dave Sherman) Newsgroups: net.micro.68k,net.unix-wizards Subject: Does anyone have nargs() for the 68000? Message-ID: <2988@utcsrgv.UUCP> Date: Thu, 22-Dec-83 10:58:09 EST Article-I.D.: utcsrgv.2988 Posted: Thu Dec 22 10:58:09 1983 Date-Received: Thu, 22-Dec-83 11:44:33 EST Organization: The Law Society of Upper Canada, Toronto Lines: 22 I am planning to port the legal education CAI I have developed to an as-yet unidentified 68000 machine running 20-30 ports. Right now it's on an 11/23 running v7. I make fairly heavy use of nargs(), which officially doesn't exist in v7 - I borrowed the PDP-11 assembler code from an old v6 machine. The nargs() routine returns the number of arguments which its calling procedure was called with. It's a very handy thing to have - takes about 50 lines in PDP-11 assembler. I don't know the first thing about Motorola assembler, but I assume there is such a thing, and that someone out there may have written nargs() in it. The machine we'll be getting will probably run Unisoft's UniPlus, or possibly Xenix. Can anyone help? Thanks. Dave Sherman The Law Society of Upper Canada Toronto -- {allegra,cornell,decvax,ihnp4,linus,utzoo}!utcsrgv!dave