;redcode-94nop ;name PoC q4.5/2 ;author Roy van Rijn ;assert 1 zero equ qbomb qtab3 equ qbomb qbomb dat >qoff , >qc2 hDist equ 788 iDist equ hDist-1520 cDist equ hDist-3634 mov.i 2, 3 ; might move 2,3 or 3,3 depends on qEnd1 and qEnd2 sBoot spl 1, {qb1 qtab2 spl 1, -1 pStone spl #0 mov bomb , >ptr add.x imp , ptr ptr jmp imp-iStep*8 , >sStep-6 bomb dat >1 , }1 imp mov.i #sStep-1 , iStep for 3 dat 0 , 0 rof nstep1 equ 2413 cstep1 equ 4704 tstep1 equ 3278 pap spl @8 , }tstep1 mov.i }-1 , >-1 nothA spl cstep1 , 0 mov.i >-1 , }-1 nothB spl @0 , }nstep1 mov.i }-1 , >-1 mov.i #1138 , <1 djn.b -2 , #1618 for 24 dat 0 , 0 rof 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) qz equ 2108 qy equ 243 ; qy*(qz-1)=1 ; q0 mutation qgo spl qGo2 sne qptr+qz*qa1 , qptr+qz*qa1+qb2 seq <(qtab1-1) , qptr+qz*(qa1-1)+qb2 djn.a q0 , {q0 sne qptr+qz*qa2 , qptr+qz*qa2+qb2 seq qptr , qptr+qz+(qb2-1) jmp q2 , qEnd1 qoff equ -87 qstep equ -7 qtime equ 19 q0 mul.b *2 , qptr q2 sne {qtab1 , @qptr q1 add.b qtab2 , qptr mov qtab3 , @qptr qptr mov qbomb , }qz sub #qstep , qptr djn -3 , #qtime jmn.a sBoot-1 , pap2 end qgo