WORM Solution

PEAK SELECT

WORM row 3

In-game screenshot of PEAK SELECT
In-game view
FamilyWORM Graph0.275 Difficulty0.275 Ring02 IDw12

Prerequisites

BACKDOOR KILL

Unlocks

BACK SEVEN

Reference rack program w12 solved
Active cores0, 1, 2, 3, 4 Program lines20 DetailWORM row 3

Walkthrough

PEAK SELECT: OUT = max(A,B). Core 1 resends B, core 0 compares, and core 4 outputs.

Rack Solution
# PEAK SELECT: OUT = max(A,B). Core 1 resends B, core 0 compares, and core 4 outputs.
@1
MOV ACC, RIGHT
MOV LEFT, ACC
MOV LEFT, ACC
@0
L: MOV ACC, UP
SAV
SUB RIGHT
JG B
MOV DOWN, RIGHT
JMP L
B: MOV NIL, RIGHT
XCH
MOV DOWN, ACC
@3
MOV RIGHT, UP
@4
MOV DOWN, LEFT
@2
MOV LEFT, UP