1# test it instruction
2
3
4@micropython.asm_thumb
5def f(r0, r1):
6    cmp(r0, r1)
7    it(eq)
8    mov(r0, 100)
9
10
11print(f(0, 0), f(1, 2))
12
13
14@micropython.asm_thumb
15def g(r0, r1):
16    cmp(r0, r1)
17    ite(eq)
18    mov(r0, 100)
19    mov(r0, 200)
20
21
22print(g(0, 0), g(0, 1))
23