Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Select sort in Human Resource Machine assembly
-- HUMAN RESOURCE MACHINE PROGRAM --
COMMENT 4
COPYFROM 24
COPYTO 19
BUMPUP 19
BUMPUP 19
COMMENT 3
a:
COPYFROM 24
COPYTO 23
b:
INBOX
JUMPZ d
COPYTO [23]
COPYFROM 23
COPYTO 22
JUMP t
COMMENT 10
c:
BUMPUP 23
JUMP b
COMMENT 5
d:
e:
COPYFROM 23
JUMPZ g
COPYFROM 0
OUTBOX
BUMPDN 23
COPYFROM [23]
COPYTO 0
COPYFROM 24
COPYTO 22
JUMP h
COMMENT 9
f:
JUMP e
g:
JUMP a
COMMENT 2
COMMENT 6
h:
i:
JUMP n
COMMENT 8
j:
COPYFROM [16]
SUB [22]
JUMPN k
JUMP m
k:
COPYFROM [22]
COPYTO 20
COPYFROM [16]
COPYTO [22]
COPYFROM 20
COPYTO [16]
COPYFROM 16
COPYTO 22
JUMP i
l:
m:
JUMP f
COMMENT 7
n:
COPYFROM 22
ADD 22
COPYTO 17
BUMPUP 17
SUB 23
JUMPN o
JUMP l
o:
COPYFROM 17
COPYTO 18
BUMPUP 18
SUB 23
JUMPN p
COPYFROM 17
COPYTO 16
JUMP s
p:
COPYFROM [17]
SUB [18]
JUMPN q
COPYFROM 18
COPYTO 16
JUMP r
q:
COPYFROM 17
COPYTO 16
r:
s:
JUMP j
COMMENT 0
t:
u:
JUMPZ y
JUMP z
v:
COPYFROM [22]
SUB [21]
JUMPN w
JUMP x
w:
COPYFROM [22]
COPYTO 20
COPYFROM [21]
COPYTO [22]
COPYFROM 20
COPYTO [21]
COPYFROM 21
COPYTO 22
JUMP u
x:
y:
JUMP c
COMMENT 1
z:
COPYFROM 24
COPYTO 21
COPYFROM 22
COPYTO 20
BUMPDN 20
aa:
SUB 19
JUMPN ab
COPYTO 20
BUMPUP 21
COPYFROM 20
JUMP aa
ab:
JUMP v
DEFINE COMMENT 0
eJzLYGBg6JZmmV8u6Z3MLNpqW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i96TtLSHaNgFAwEAABnp2N+;
DEFINE LABEL 24
eJxzYGBgCJa1db+vzePZbLjaZ7ORYaC3cXUiuwFT5WnN49N3y5gfvi8Rc1peZOPFxd49J4HKGT5LTW07
bH+v+bojfxOIHxft01mVK9NtVDq1bVd1Z+2uaumKZZXf8u+Vh+c8K+nIikq7mF4VdbfALFy6Yl7Yzup5
YRpT/kX4zolK09r1rvDdUZAZbl0z9pd1v90U1bOo/1PPF0+lvlDjvL5/kiC5XX2TfSPnz3Peu3KVJYh/
cZ99bu9u7zLBXRH1R3cy98Tuuj+t9MieLQ9Ppx/0vbz0RMbTq8cMns/YX/M8eseTZ2YbLJ4sXnT0vsaU
nbeYe0qvp3bonkntmHviWIvvAeNyhlEwCkY4AAD+CHeJ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment