home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / network / netlib_1 / NetLibSrc / s / sendto < prev    next >
Text File  |  1995-09-11  |  300b  |  21 lines

  1.         GET    hdr.Regs
  2.         GET    hdr.SocketSWIs
  3.  
  4.         AREA    |C$$code|,CODE,READONLY
  5.  
  6.         IMPORT    |__errno|
  7.  
  8.         EXPORT    sendto
  9. sendto
  10.         STMFD    sp!,{r4-r5,lr}
  11.         LDR    r4,[sp,#12]
  12.         LDR    r5,[sp,#16]
  13.         CallSWI    XSocket_Sendto
  14.         LDMVCFD    sp!,{r4-r5,pc}^
  15.         LDR    r0,[r0]
  16.         StoreErrno r1, r2
  17.         MOV    r0,#-1
  18.         LDMFD    sp!,{r4-r5,pc}^
  19.  
  20.         END
  21.