home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
telecom
/
uucp_442
/
src
/
lib
/
gettail.a
< prev
next >
Wrap
Text File
|
1990-08-02
|
280b
|
22 lines
; GETTAIL.A
;
; (c)Copyright 1990, Matthew Dillon, All Rights Reserved
;
section text,CODE
xdef _GetTail ; node = GetTail(list:4(sp))
_GetTail: move.l 4(sp),A0
move.l 8(A0),A0
tst.l 4(A0)
beq gt0
move.l A0,D0
rts
gt0 moveq.l #0,D0
rts
END