ice-dcc.S 188 B

1234567891011121314151617
  1. .text
  2. .global icedcc_putc
  3. icedcc_putc:
  4. mov r2, #0x4000000
  5. 1:
  6. subs r2, r2, #1
  7. movlt pc, r14
  8. mrc p14, 0, r1, c0, c0, 0
  9. tst r1, #2
  10. bne 1b
  11. mcr p14, 0, r0, c1, c0, 0
  12. mov pc, r14