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
/
DoMethod.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1994-12-12
|
312 b
|
24 lines
asm("
.text
.globl _DoMethod
.globl _DoMethodA
_DoMethod: lea sp@(8:W),a1
jra L_DoMethod
_DoMethodA: movel sp@(8:W),a1
L_DoMethod: movel sp@(4:W),d0
beqs L_Null
movel a2,sp@-
movel d0,a2
movel a2@(-4:W),a0
jbsr L_Invoke
movel sp@+,a2
L_Null: rts
L_Invoke: movel a0@(8:W),sp@-
rts
");