home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / desklib / sources / DeskLib / !DLSources / Libraries / KernelSWIs / s / OSCLI < prev    next >
Encoding:
Text File  |  1995-08-26  |  941 b   |  32 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.OSCLI
  11. ;   Author:  Copyright © 1995 Sergio Monesi
  12. ;   Version: 1.00 (15 Jul 1995)
  13. ;   Purpose: Veneer for OS_CLI
  14.  
  15.         GET     ^.h.regdefs
  16.         GET     ^.h.swinos
  17.         GET     ^.h.macros
  18.  
  19.         PREAMBLE
  20.  
  21. ; os_error *OS_CLI(char *cmd);
  22.  
  23.         STARTCODE OS_CLI
  24.  
  25.         MOV     ip, lr
  26.         SWI     SWI_OS_CLI + XOS_Bit
  27.         MOVVC   r0, #0
  28.         MOVS    pc, ip
  29.  
  30.  
  31.         END
  32.