HRM Fiddle

I don't work for Tommorow Corporation, nor did I work on Human Resource Machine. But I sure do love the game.

HRM Sandbox provides a place to try and share programs. Tomorrow Corporation didn't sponsor this, nor condone it, nor are they likely aware of it.

-- HUMAN RESOURCE MACHINE PROGRAM -- a: inbox add 9 copyto 0 bumpup 0 copyfrom [8] outbox jump a
Loading View...

Inbox one per line

Floor JSON

Outbox

HRM Sandbox Instruction Set

Instruction Description
inbox Takes the value from the top of the inbox and places it in your hand
outbox Takes the value from your hand and places it on the top of the inbox
copyto 4 Copies the value in your hand into 4
copyfrom 4 Copies the value from 4 into your hand
copyfrom [1] Copies the value from the location pointed to by 1 into your hand
add 2 Adds the value in your hand to the value in 2
sub 3 Subtracts from the value in your hand the value in 3
bumpup 1 Increments the value in 1 by one (1), saving it into 1 and your hand
bumpdn 0 Decrements the value in 0 by one (1), saving it into 0 and your hand
jump label Jumps to label
jumpz label Jumps to label if the value in your hand is zero (0)
jumpn label Jumps to label if the value in your hand is negative