WORM Solution
GAIN STAGE
WORM row 3

Prerequisites
Unlocks
w13 solved
Active cores1, 4, 7
Program lines12
DetailWORM row 3
Walkthrough
GAIN STAGE: OUT = 3 * IN
Core 0: read UP, fan the value DOWN three times to core 4
Core 4: accumulate: ACC=UP, ADD UP, ADD UP -> 3*IN, send DOWN to core 8
Core 8: output stream 0
Rack Solution
# GAIN STAGE: OUT = 3 * IN
# Core 0: read UP, fan the value DOWN three times to core 4
# Core 4: accumulate: ACC=UP, ADD UP, ADD UP -> 3*IN, send DOWN to core 8
# Core 8: output stream 0
@1
MOV ACC, UP
MOV DOWN, ACC
MOV DOWN, ACC
MOV DOWN, ACC
@4
MOV ACC, UP
ADD UP
ADD UP
MOV DOWN, ACC
@7
MOV DOWN, UP