home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / dev / gcc / libnixV0_8.lha / gnu / libnix-sources.lha / sources / amiga / misc / SetSuperAttrs.c < prev    next >
Encoding:
Text File  |  1994-12-12  |  330 b   |  25 lines

  1. asm("
  2.         .text
  3.  
  4.         .globl    _SetSuperAttrs
  5.  
  6. _SetSuperAttrs:    movel    a2,sp@-
  7.         moveml    sp@(8:W),a0/a2
  8.         movel    a2,d0
  9.         beqs    L_Null
  10.         movel    a0,d0
  11.         beqs    L_Null
  12.         clrl    sp@-
  13.         pea    sp@(20:W)
  14.         pea    259:W
  15.         movel    sp,a1
  16.         movel    sp@(24:W),a0
  17.         jbsr    L_Invoke
  18.         lea    sp@(12:W),sp
  19. L_Null:        movel    sp@+,a2
  20.         rts
  21.  
  22. L_Invoke:    movel    a0@(8:W),sp@-
  23.         rts
  24. ");
  25.