WORM Solution

BURST TAIL

WORM row 5

In-game screenshot of BURST TAIL
In-game view
FamilyWORM Graph0.443 Difficulty0.443 Ring03 IDw24

Prerequisites

TRIPWIRE

Unlocks

DUAL STAIR

Reference rack program w24 solved
Active cores1, 4, 7 Program lines13 DetailWORM row 5

Walkthrough

BURST TAIL: emit the last value of each zero-terminated burst.

Last nonzero value held in BAK; a 0 closes the burst and emits it, then resets.

Rack Solution
# BURST TAIL: emit the last value of each zero-terminated burst.
# Last nonzero value held in BAK; a 0 closes the burst and emits it, then resets.
@1
L: MOV ACC, UP
JZ E
SAV
JMP L
E: XCH
JZ L
MOV DOWN, ACC
JMP L
@4
MOV DOWN, UP
@7
MOV DOWN, UP