Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
214 lines (200 sloc) 3.92 KB
-- HUMAN RESOURCE MACHINE PROGRAM --
-- 25-Cumulative-Countdown - SIZE 125/12 - SPEED 37/82 --
-- This solution is level-specific (patterned and quantity-limited input).
-- Based on 117.39.specific-18111398.asm.
-- Slight optimization of 125.38.specific-viamodulo.asm.
BUMPUP 5
BUMPUP 5
ADD 5
COPYTO 4
INBOX
SUB 4
JUMPN a
BUMPUP 4
ADD 4
OUTBOX
JUMP b
a:
COPYFROM 4
ADD 5
OUTBOX
BUMPUP 4
b:
INBOX
COPYTO 0
SUB 4
JUMPN c
JUMPZ g
SUB 5
JUMPZ i
JUMPN h
SUB 5
JUMPZ k
JUMPN j
c:
ADD 5
JUMPZ f
JUMPN d
COMMENT 6
BUMPUP 0
ADD 0
JUMP p
d:
ADD 5
JUMPZ e
COMMENT 4
BUMPUP 0
JUMP n
e:
COMMENT 3
COPYFROM 0
JUMP l
COMMENT 5
f:
COPYFROM 0
ADD 0
JUMP o
g:
COMMENT 1
COPYFROM 0
ADD 0
ADD 0
JUMP q
h:
COMMENT 2
BUMPUP 0
ADD 0
ADD 0
JUMP r
i:
COMMENT 0
COPYFROM 0
ADD 0
ADD 0
ADD 0
JUMP s
j:
COMMENT 7
BUMPUP 0
ADD 0
ADD 0
ADD 0
JUMP t
k:
COMMENT 8
COPYFROM 0
ADD 0
ADD 0
ADD 0
ADD 0
l:
m:
n:
o:
p:
q:
r:
s:
t:
OUTBOX
INBOX
OUTBOX
INBOX
COPYTO 0
SUB 4
JUMPN u
JUMPZ y
SUB 5
JUMPZ aa
JUMPN z
SUB 5
JUMPZ ac
JUMPN ab
u:
ADD 5
JUMPZ x
JUMPN v
BUMPUP 0
ADD 0
OUTBOX
INBOX
v:
ADD 5
JUMPZ w
BUMPUP 0
OUTBOX
INBOX
w:
COPYFROM 0
JUMP m
x:
COPYFROM 0
ADD 0
OUTBOX
INBOX
y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