1
2
3
4
5
6
7
8
9
10
11
12
clz1:
    orr r0, r0, r0, lsr #8
    orr r0, r0, r0, lsr #4
    orr r0, r0, r0, lsr #2
    orr r0, r0, r0, lsr #1
    bic r0, r0, r0, lsr #16
    rsb r0, r0, r0, lsl #14
    rsb r0, r0, r0, lsl #11
    rsb r0, r0, r0, lsl #9
    ldrb r0, [pc, r0, lsr #26]
    bx lr
    .byte 32,20,19,0,0,18,0,7,10,17,0,0,14,0,6,0,0,9,0,16,0,0,1,26,0,13,0,0,24,5,0,0,0,21,0,8,11,0,15,0,0,0,0,2,27,0,25,0,22,0,12,0,0,3,28,0,23,0,4,29,0,0,30,31