Skip to content

Instantly share code, notes, and snippets.

@liorean
Created August 18, 2018 20:13
Show Gist options
  • Save liorean/06100917fa1368d54db8679838bfdbba to your computer and use it in GitHub Desktop.
Save liorean/06100917fa1368d54db8679838bfdbba to your computer and use it in GitHub Desktop.
Human Resource Machine Year 19 Countdown solution 1
-- HUMAN RESOURCE MACHINE PROGRAM --
a:
INBOX
JUMPZ g
COPYTO 0
OUTBOX
COPYFROM 0
JUMPN c
b:
BUMPDN 0
JUMPZ f
OUTBOX
JUMP b
c:
d:
BUMPUP 0
JUMPZ e
OUTBOX
JUMP d
e:
f:
g:
OUTBOX
JUMP a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment