home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / desklib / sources / DeskLib / !DLSources / Libraries / KernelSWIs / s / GSTrans next >
Encoding:
Text File  |  1995-08-26  |  1.0 KB  |  35 lines

  1. ;   ####             #    #     # #
  2. ;   #   #            #    #       #          The FreeWare C library for
  3. ;   #   #  ##   ###  #  # #     # ###             RISC OS machines
  4. ;   #   # #  # #     # #  #     # #  #   ___________________________________
  5. ;   #   # ####  ###  ##   #     # #  #
  6. ;   #   # #        # # #  #     # #  #    Please refer to the accompanying
  7. ;   ####   ### ####  #  # ##### # ###    documentation for conditions of use
  8. ;   ________________________________________________________________________
  9. ;
  10. ;   File:    KernelSWIs.s.GSTrans
  11. ;   Author:  Copyright © 1995 Sergio Monesi
  12. ;   Version: 1.00 (13 Jul 1995)
  13. ;   Purpose: Veneer for OS_GSTrans
  14.  
  15.         GET     ^.h.regdefs
  16.         GET     ^.h.swinos
  17.         GET     ^.h.macros
  18.  
  19.         PREAMBLE
  20.  
  21. ; os_error *OS_GSTrans(char *string, char *buffer, int size, char **end);
  22.  
  23.         STARTCODE OS_GSTrans
  24.  
  25.         MOV     ip, lr
  26.         SWI     SWI_OS_GSTrans + XOS_Bit
  27.         MOVVSS  pc, ip
  28.         TEQ     r3, #0
  29.         STRNE   r0, [r3]
  30.         MOV     r0, #0
  31.         MOVS    pc, ip
  32.  
  33.  
  34.         END
  35.