;redcode-94nop ;name Shrink ;author Christian Schmidt ;strategy qscanner, shrinking paper ;assert 1 zero equ qbomb qtab3 equ qbomb pStep1 EQU 6785 pStep2 EQU 2148 pStep3 EQU 627 bStep1 EQU 7585 pAwa1 EQU 4582 pAwa2 EQU 7267 qbomb dat >qoff, >qc2 paper spl 2, {6744 spl 2, -1 silk1 spl @0, -1 silk2 spl @0, -1 bomb mov.i #1, <1 cc djn.b -2, #bStep1 for 4 dat 0, 0 rof dat zero - 1, qa1 qtab1 dat zero - 1, qa2 for 42 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 qgo sne qptr + qz*qc2, qptr + qz*qc2 + qb2 seq qptr, qptr + qz + (qb2-1) jmp q2,