1/* Purpose: computes the Fibonacci series up to a constant number. */
2
3    .text
4    .globl _start
5
6_start:
7    {
8        r2 = #100
9    }
10    {
11        p0 = cmp.gt(r2, #0); if (!p0.new) jump:nt .LBB0_3
12    }
13    {
14        r3 = #0
15        r4 = #1
16    }
17.LBB0_2:
18    {
19        r5 = r4
20    }
21    {
22        p0 = cmp.gt(r2, r5); if (p0.new) jump:nt .LBB0_2
23        r4 = add(r3, r4)
24        r3 = r5
25    }
26.LBB0_3:
27    {
28        p0 = cmp.eq(r3, #144); if (p0.new) jump:t pass
29        jump fail
30    }
31