home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities2 / desklib / Libraries / Sprite / s / 11Merge < prev    next >
Encoding:
Text File  |  1992-03-31  |  1.2 KB  |  49 lines

  1. ;
  2. ;       Title                  : Sprite 11U
  3. ;       System                 : Sprite Library
  4. ;       Version                : 1.0
  5. ;       Copyright              : (C) John Winters
  6. ;       Date                   : 26th January, 1992
  7. ;       Author                 : John H. Winters
  8. ;
  9. ;       Function               : Issues an OS_SpriteOp 11.
  10. ;
  11. ;
  12. ;       Modification history.
  13. ;
  14. ;       Version                : (Reflect in header IDENT)
  15. ;       Date                   : 
  16. ;       Author                 : 
  17. ;       Changes                : 
  18. ;
  19. ;
  20. ;============================================================================
  21. ;
  22. ;  Include files.
  23. ;
  24. ;============================================================================
  25. ;
  26.         GET     h.regdefs
  27.         GET     h.swinos
  28.         GET     h.macros
  29. ;
  30. ;============================================================================
  31. ;
  32. ;  Code.
  33. ;
  34. ;============================================================================
  35. ;
  36.         PREAMBLE
  37.         STARTCODE Sprite_Merge
  38. ;
  39.         STMFD   sp!, {lr}
  40.         MOV     a3, a2
  41.         MOV     a2, a1
  42.         MOV     a1, #256
  43.         ADD     a1, a1, #11
  44.         SWI     OS_SpriteOp + XOS_Bit
  45.         MOVVC   a1, #0
  46.         LDMFD   sp!, {pc}^
  47. ;
  48.         END
  49.