;redcode-94nop ;author Christian Schmidt ;name Fire Proof Paper ;strategy qscan, binary coreclear silk ;strategy idea is based on P. Kline's posting on rgc ;-) ;url http://www.corewar.info ;assert 1 ;------------ Qscan Constant --------------- zero equ qbomb qtab3 equ qbomb qz equ 2108 qy equ 243 qc2 equ ((1 + (qtab3-qptr)*qy) % CORESIZE) qb1 equ ((1 + (qtab2-1-qptr)*qy) % CORESIZE) qb2 equ ((1 + (qtab2-qptr)*qy) % CORESIZE) qb3 equ ((1 + (qtab2+1-qptr)*qy) % CORESIZE) qa1 equ ((1 + (qtab1-1-qptr)*qy) % CORESIZE) qa2 equ ((1 + (qtab1-qptr)*qy) % CORESIZE) qoff equ -88 qstep equ -7 qtime equ 20 ;-------Constants for optimization---------- pStep1 equ 2712 pStep2 equ 538 pStep3 equ 2287 pAw1 equ 5701 pAw2 equ 5942 ;------------------------------------------- dat 0, 0 qbomb dat >qoff, >qc2 ;------ 45 instructions -------------------- ;128.11 pGo spl 2, <7029 spl 1, <6422 spl 1, <5437 mov {silk1, {pBo1 pBo1 spl pEnd+pAw1, pEnd+pAw2 mov }pBo1, >pBo1 pBo2 djn.f pEnd+pAw2, <2245 for 8 dat 0, 0 rof silk1 spl @6, silk1 mov {silk1, pStep2 bomb mov.i #1, <1 cc djn.b -1, #pStep3 pEnd dat 0, 0 for 31-8 dat 0, 0 rof ;------------------------------------------- dat 0, qptr, qptr+qz+(qb2-1) jmp q2,