From news@valhalla.stormking.com Sun Aug 24 14:55:37 1994 Received: by valhalla.stormking.com with UUCP id AA23494 (5.65c/IDA-1.4.4 for cbx.rec.games.corewar); Fri, 26 Aug 1994 00:45:18 -0400 From: uma3034@nof.abdn.ac.uk (uma3034 ) Newsgroups: rec.games.corewar Subject: DJN Date: 24 Aug 1994 14:55:37 GMT Organization: University of Aberdeen, Scotland Lines: 44 Message-Id: <33fn19$q7n@nof.abdn.ac.uk> Nntp-Posting-Host: sysb.abdn.ac.uk X-Newsreader: TIN [version 1.2 PL2] Apparently-To: cbx.rec.games.corewar@valhalla.stormking.com I'm having a little difficulty understanding some of this program: ;redcode-94 ;name Rave ;author Stefan Strack ;strategy Carpet-bombing scanner based on Agony and Medusa's ;strategy (written in ICWS'94) ;strategy Submitted: @date@ CDIST equ 12 IVAL equ 42 FIRST equ scan+OFFSET+IVAL OFFSET equ (2*IVAL) DJNOFF equ -431 BOMBLEN equ CDIST+2 org comp scan sub.f incr,comp comp cmp.i FIRST,FIRST-CDIST ;larger number is A slt.a #incr-comp+BOMBLEN,comp ;compare to A-number djn.f scan,comp ;post-increment count djn.b split,#0 sub.ab #BOMBLEN,comp jmn.b scan,scan bomb spl.a 0,0 mov.i incr,