norm_s.s 149 B

123456789101112131415
  1. .text
  2. .align 4
  3. .code 32
  4. .global norm_s
  5. .type norm_s, %function
  6. norm_s:
  7. CMP r0,#0
  8. BEQ END
  9. MVNLT r0,r0
  10. CLZ r0,r0
  11. SUB r0,r0,#17
  12. END:
  13. BX lr