Article 2194 of rec.games.corewar: Path: hellgate.utah.edu!dog.ee.lbl.gov!overload.lbl.gov!agate!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!asuvax!asuacad!ahnas Organization: Arizona State University Date: Fri, 29 Oct 1993 17:45:45 MST From: Message-ID: <93302.174545AHNAS@ASUACAD.BITNET> Newsgroups: rec.games.corewar Subject: primes Lines: 32 I have a feeling that redcode is quite a powerfull language. I remember a plan about a redcode hardware. Is it done, or was it just a plan? ;redcode ;name Sieve of Arisztotenesz ;author Na'ndor Sieben ;ICWS-88 ;strategy calculate prime numbers between 2 and LIMIT ( actually ;strategy between -2 and -LIMIT ) ;strategy non prime numbers are set to 0 . ;strategy A not so slight modification of Stefan's program ;strategy I know this is nasty but it's only 11 instructions ;strategy and a little bit faster ( it deletes the multiples of primes only ) LIMIT equ 100 ; range of integers modify here fillptr equ (fill-1) fill mov fillptr,