1@micropython.asm_thumb
2def clz(r0):
3    clz(r0, r0)
4
5
6print(clz(0xF0))
7print(clz(0x8000))
8
9
10@micropython.asm_thumb
11def rbit(r0):
12    rbit(r0, r0)
13
14
15print(hex(rbit(0xF0)))
16print(hex(rbit(0x8000)))
17