round32.s 134 B

1234567891011121314
  1. .text
  2. .align 4
  3. .code 32
  4. .global round32
  5. .type round32, %function
  6. round32:
  7. MOV r1,#0x8000
  8. QADD r0,r0,r1
  9. ASR r0,r0,#16
  10. BX lr