
;   GETTAIL(list)
;	    4(sp)


	    public  _gettail

_gettail:
	    move.l  4(sp),A0    ;A0 = list
	    move.l  8(A0),A1    ;A1 = lh_TailPred
	    move.l  A1,D0	;D0 = result
	    cmp.l   A1,A0	;is it pointing to lh_Head?
	    bne     .1		;no
	    clr.l   D0		;yes
.1	    rts

