Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!qantel!lll-lcc!lll-crg!seismo!brl-adm!brl-smoke!smoke!rbj@icst-cmr From: rbj@icst-cmr (root) Newsgroups: net.lang.c Subject: Args in Regs Message-ID: <359@brl-smoke.ARPA> Date: Mon, 28-Apr-86 15:23:23 EDT Article-I.D.: brl-smok.359 Posted: Mon Apr 28 15:23:23 1986 Date-Received: Fri, 2-May-86 22:47:07 EDT Sender: news@brl-smoke.ARPA Lines: 11 > Why do so many of the micro operating systems > insist on putting arguments in registers!!!. Even MS-DOS expects > arguments in registers rather than on the stack. Surprise! Even UNIX (V6) does this! The reason is that the machine generally uses the same regs in supervisor mode. This is easier than trying to did the args out of the user's space, which entails accessing another map entry. BSD seems to use the stack however. (Root Boy) Jim Cottrell "One man gathers what another man spills"