Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site cornell.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxb!mhuxn!mhuxm!mhuxj!houxm!vax135!cornell!hal From: hal@cornell.UUCP (Hal Perkins) Newsgroups: net.unix-wizards Subject: Re: clear core Message-ID: <80@cornell.UUCP> Date: Thu, 14-Feb-85 18:56:37 EST Article-I.D.: cornell.80 Posted: Thu Feb 14 18:56:37 1985 Date-Received: Fri, 15-Feb-85 06:03:25 EST References: <8256@brl-tgr.ARPA> Reply-To: hal@gvax.UUCP (Hal Perkins) Organization: Cornell Univ. CS Dept. Lines: 16 Summary: >> Now, who remembers the one-instruction core clear? > >mov -(pc),-(pc) ; .word 014747 Ok, you got the easy one. Now here's the harder version of the question. Write a PDP-11 assembly language program that will set ALL of memory and all of the registers (except, possibly, for PC) to the value ZERO. I'll post an answer in a week or two if nobody gets it. (Yes, there are at least two solutions to this.) Hal Perkins UUCP: {decvax|vax135|...}!cornell!hal Cornell Computer Science ARPA: hal@cornell BITNET: hal@crnlcs