home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
prog_c
/
suplib.lzh
/
SUPLIB
/
SRC
/
GETPRED.ASM
< prev
next >
Wrap
Assembly Source File
|
1991-08-16
|
332b
|
24 lines
section CODE
xdef _GetPred ; node = GetPred(node:4(sp))
IFD LATTICE
xdef @GetPred
ENDC
_GetPred: move.l 4(sp),A0
IFD LATTICE
@GetPred: ; Registerized parameters Lattice C 5.02
ENDC
move.l 4(A0),A0
tst.l 4(A0)
beq .gp0
move.l A0,D0
rts
.gp0 moveq.l #0,D0
rts
END