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

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