A core-clear wipes memory and is often used as the endgame strategy
by scanners and bombers. A single-pass clear wipes with DAT bombs. A
two-pass clear has a SPL wipe to stun the opponent followed by a
DAT wipe.
Stargate Clear
org clear-1
gate dat bomb, 100
dbmb dat bomb-gate, 9
bomb spl #dbmb-gate, 11
clear mov *gate, >gate
mov *gate, >gate
djn.f clear, {-250
Torch Clear
dec equ -500
gate equ clear-4
org clear-1
dat -100, 9
bomb spl #dec, 11
clear mov @bptr, >gate
mov @bptr, >gate
bptr djn.f clear, {bomb
G2 Clear
dec equ 2700
gate equ clear-4
org clear-1
bptr dat bomb, 9
bomb spl #dec, 11
clear mov *bptr, >gate
mov *bptr, >gate
djn.f clear, }bomb
time equ 62
gate equ clear-4
org clear-1
dat 9, <0
bomb spl #2680, {clear+(time*time+time)*3/2
clear mov bomb, }gate
mov *clear, }gate
djn.f *-1, bomb