1{module, yrange}.  %% version = 0
2
3{exports, [{id,1},
4           {module_info,0},
5           {module_info,1},
6           {sum_1,2},
7           {sum_2,2},
8           {sum_3,2},
9           {sum_4,2}]}.
10
11{attributes, []}.
12
13{labels, 15}.
14
15
16{function, sum_1, 2, 2}.
17  {label,1}.
18    {func_info,{atom,t},{atom,sum_1},2}.
19  {label,2}.
20    {allocate,1,2}.
21    {move,{x,1},{y,-1}}.
22    {'%live',1}.
23    {call,1,{f,10}}.
24    {bif,'+',{f,0},[{x,0},{y,0}],{x,0}}.
25    {'%live',1}.
26    {deallocate,1}.
27    return.
28
29
30{function, sum_2, 2, 4}.
31  {label,3}.
32    {func_info,{atom,t},{atom,sum_2},2}.
33  {label,4}.
34    {allocate,1,2}.
35    {move,{x,1},{y,0}}.
36    {'%live',1}.
37    {call,1,{f,10}}.
38    {bif,'+',{f,0},[{x,0},{y,1024}],{x,0}}.
39    {'%live',1}.
40    {deallocate,1}.
41    return.
42
43
44{function, sum_3, 2, 6}.
45  {label,5}.
46    {func_info,{atom,t},{atom,sum_3},2}.
47  {label,6}.
48    {allocate,1,2}.
49    {move,{x,1},{y,1024}}.
50    {'%live',1}.
51    {call,1,{f,10}}.
52    {bif,'+',{f,0},[{x,0},{y,0}],{x,0}}.
53    {'%live',1}.
54    {deallocate,1}.
55    return.
56
57
58{function, sum_4, 2, 8}.
59  {label,7}.
60    {func_info,{atom,t},{atom,sum_4},2}.
61  {label,8}.
62    {allocate,1,2}.
63    {move,{x,1},{y,-1}}.
64    {'%live',1}.
65    {call,1,{f,10}}.
66    {bif,'+',{f,0},[{x,0},{y,0}],{x,0}}.
67    {'%live',1}.
68    {deallocate,1}.
69    return.
70
71
72{function, id, 1, 10}.
73  {label,9}.
74    {func_info,{atom,t},{atom,id},1}.
75  {label,10}.
76    return.
77