;redcode-94nop ;name Kenshin D lafz ;author Steve Gunnell ;strategy Qscan -> f-scanner with inloop bombing. ;assert CORESIZE==8000 STEP equ 7449 QFAC equ 837 QINV equ 5773 START equ 7458 LEAP equ (head+2427) bptr equ (head-2) dat0 equ (t2 - 20 ) GAP1 equ 0 GAP2 equ 0 GAP3 equ 0 GAP4 equ 30 GAP5 equ 9 D equ (QINV+1) A1 equ (1 + QFAC * (t1-1 - qb) ) A2 equ (1 + QFAC * (t1 - qb) ) B1 equ (1 + QFAC * (t2-1 - qb) ) B2 equ (1 + QFAC * (t2 - qb) ) B3 equ (1 + QFAC * (t2+1 - qb) ) C2 equ (1 + QFAC * (t3 - qb) ) dat.f 0 ,B1 t2 dat.f 0 ,B2 dat.f 0 ,B3 for GAP1 dat.f $0 ,$0 rof dat.f dat0 ,A1 t1 dat.f dat0 ,A2 for GAP2 dat.f $0 ,$0 rof t3 dat.f qb ,C2 for GAP3 dat.f $0 ,$0 rof bgo spl 2 ,>4000 boot spl LEAP ,head mov.i >boot ,}boot mov.i >boot ,}boot mov.i >boot ,}boot mov.i >boot ,}boot mov.i >boot ,}boot sub.f boot ,boot dat.f >0 ,>4000 for GAP4 dat.f $0 ,$0 rof head slt #START ,#tail-bptr+5 mov.a head ,bptr trash mov tail ,}bptr add.a #STEP ,@hptr jmz.f trash ,*head hptr jmn.a @hptr ,head jmp @hptr ,}trash tail spl #0, {0 jmp #0, {0 mod.f >0, <0 for GAP5 dat.f $0 ,$0 rof qscan seq qb+D ,qb+D+B2 jmp decid sne qb+D*C2 ,qb+D*C2+B2 seq