WORM Solution
DEBOUNCE
WORM row 5

Prerequisites
Unlocks
w21 solved
Active cores1, 4
Program lines11
DetailWORM row 5
Walkthrough
DEBOUNCE: drop consecutive duplicates.
CORE 1 sends each input twice. CORE 4 compares against the previous emitted value.
Rack Solution
# DEBOUNCE: drop consecutive duplicates.
# CORE 1 sends each input twice. CORE 4 compares against the previous emitted value.
@1
MOV ACC, UP
MOV DOWN, ACC
MOV DOWN, ACC
@4
L: SUB UP
JNZ E
MOV ACC, UP
JMP L
E: MOV ACC, UP
MOV DOWN, ACC