Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site hou3c.UUCP Path: utzoo!watmath!clyde!burl!hou3c!ka From: ka@hou3c.UUCP (Kenneth Almquist) Newsgroups: net.unix-wizards Subject: Re: Some hacks I'll share! Message-ID: <407@hou3c.UUCP> Date: Tue, 13-Mar-84 12:36:56 EST Article-I.D.: hou3c.407 Posted: Tue Mar 13 12:36:56 1984 Date-Received: Wed, 14-Mar-84 08:15:38 EST References: <98@isrnix.UUCP> Organization: Bell Labs, Holmdel, NJ Lines: 7 Another way to clear memory fast on PDP-11 machines is to use the mov instruction instead of the clear instruction. The clr instruction performs a read, modify, write sequence on all the PDP-11 machines that I have looked at. Reading from a register is faster than reading from memory, so if you have a spare register you can zero it, and then replace the clr instructions in the loop with moves from the register. Kenneth Almquist