WORM Solution

NOISE GATE

WORM row 6

In-game screenshot of NOISE GATE
In-game view
FamilyWORM Graph0.555 Difficulty0.555 Ring04 IDw28

Prerequisites

BIT LADDER

Unlocks

Position MattersUNPACKER

Reference rack program w28 solved
Active cores0, 1, 2, 3, 4 Program lines16 DetailWORM row 6

Walkthrough

NOISE GATE: emit A only when A >= B. B is the per-slot threshold.

card 1 relays B left to card 0; card 0 keeps A in BAK, tests A-B,

emits A to the active output row only on A >= B. The emit path wraps

(no JMP); the A<B drop path jumps back to read the next pair.

Rack Solution
# NOISE GATE: emit A only when A >= B. B is the per-slot threshold.
# card 1 relays B left to card 0; card 0 keeps A in BAK, tests A-B,
# emits A to the active output row only on A >= B. The emit path wraps
# (no JMP); the A<B drop path jumps back to read the next pair.
@1
MOV ACC, RIGHT
MOV LEFT, ACC
@0
L: MOV ACC, UP
SAV
SUB RIGHT
JL L
XCH
MOV DOWN, ACC
@3
MOV RIGHT, UP
@4
MOV DOWN, LEFT
@2
MOV LEFT, UP