home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GERLIB_DEV08B.LHA / gerlib / not_equal / normal / x.c < prev    next >
Encoding:
Text File  |  1993-12-12  |  370 b   |  14 lines

  1. | this function is for normal (=large) mode only !
  2.  
  3.     .globl _hookEntrya1a2
  4. _hookEntrya1a2:
  5.  
  6.     | save registers for C function that wants everything on the stack
  7.  
  8.     movel    a1,sp@-            | push message packet pointer
  9.     movel    a2,sp@-            | push object pointer
  10.     movel    a0@(12),a0        | fetch C entry point ... (h_SubEntry)
  11.     jsr    a0@                    | ... and call it
  12.     lea    sp@(8),sp            | fix stack
  13.     rts
  14.