fprintf.s 298 B

1234567891011121314151617
  1. | Warning: This routine has the attribute __ATTR_TIOS__!
  2. .xdef fprintf
  3. .text
  4. fprintf:
  5. movea.l 0xC8,%a0
  6. movea.l (%a0,0x14C),%a0 /* vcbprintf */
  7. lea (%a0,32),%a0
  8. movea.w (%a0),%a1
  9. pea (%sp,12)
  10. move.l (%sp,12),-(%sp)
  11. move.l (%sp,12),-(%sp)
  12. pea fputc
  13. jsr (%a0.l,%a1)
  14. lea (%sp,16),%sp
  15. rts